User

pt.tecnico.dsi.openstack.keystone.models.User$
See theUser companion class
object User

Attributes

Companion
class
Source
User.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
User.type

Members list

Type members

Classlikes

case class Create(name: String, password: Option[String], domainId: Option[String], defaultProjectId: Option[String], enabled: Boolean)

Options to create a User

Options to create a User

Value parameters

defaultProjectId

The ID of the default project for the user. A user’s default project must not be a domain. Setting this attribute does not grant any actual authorization on the project, and is merely provided for convenience. Therefore, the referenced project does not need to exist within the user domain. If the user does not have authorization to their default project, the default project is ignored at token creation. Additionally, if your default project is not valid, a token is issued without an explicit scope of authorization.

domainId

The ID of the domain of the user. If the domain ID is not provided in the request, the Identity service will attempt to pull the domain ID from the token used in the request. Note that this requires the use of a domain-scoped token.

enabled

If the user is enabled, this value is true. If the user is disabled, this value is false.

name

The user name. Must be unique within the owning domain.

password

The password for the user.

Attributes

Source
User.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Update(name: Option[String], password: Option[String], defaultProjectId: Option[String], enabled: Option[Boolean])

Options to update a User

Options to update a User

Value parameters

defaultProjectId

The new ID of the default project for the user.

enabled

Enables or disables the user. An enabled user can authenticate and receive authorization. A disabled user cannot authenticate or receive authorization. Additionally, all tokens that the user holds become no longer valid. If you reenable this user, pre-existing tokens do not become valid. To enable the user, set to true. To disable the user, set to false.

name

The new name for the user. Must be unique within the owning domain.

password

The new password for the user.

Attributes

Source
User.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Givens

Givens

Attributes

Source
User.scala

Attributes

Source
User.scala