Create

pt.tecnico.dsi.openstack.keystone.models.User$.Create
case class Create(name: String, password: Option[String], domainId: Option[String], defaultProjectId: Option[String], enabled: Boolean)

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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product