IdentitySettingsTokens

class oci.identity_domains.models.IdentitySettingsTokens(**kwargs)

Bases: object

A list of tokens and their expiry length.

Attributes

TYPE_CREATE_USER A constant which can be used with the type property of a IdentitySettingsTokens.
TYPE_EMAIL_VERIFICATION A constant which can be used with the type property of a IdentitySettingsTokens.
TYPE_PASSWORD_RESET A constant which can be used with the type property of a IdentitySettingsTokens.
expires_after Gets the expires_after of this IdentitySettingsTokens.
type [Required] Gets the type of this IdentitySettingsTokens.

Methods

__init__(**kwargs) Initializes a new IdentitySettingsTokens object with values from keyword arguments.
TYPE_CREATE_USER = 'createUser'

A constant which can be used with the type property of a IdentitySettingsTokens. This constant has a value of “createUser”

TYPE_EMAIL_VERIFICATION = 'emailVerification'

A constant which can be used with the type property of a IdentitySettingsTokens. This constant has a value of “emailVerification”

TYPE_PASSWORD_RESET = 'passwordReset'

A constant which can be used with the type property of a IdentitySettingsTokens. This constant has a value of “passwordReset”

__init__(**kwargs)

Initializes a new IdentitySettingsTokens object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • expires_after (int) – The value to assign to the expires_after property of this IdentitySettingsTokens.
  • type (str) – The value to assign to the type property of this IdentitySettingsTokens. Allowed values for this property are: “emailVerification”, “passwordReset”, “createUser”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
expires_after

Gets the expires_after of this IdentitySettingsTokens. Indicates the number of minutes after which the token expires automatically.

SCIM++ Properties:
  • caseExact: false
  • multiValued: false
  • mutability: readWrite
  • required: false
  • returned: default
  • type: integer
  • uniqueness: none
Returns:The expires_after of this IdentitySettingsTokens.
Return type:int
type

[Required] Gets the type of this IdentitySettingsTokens. The token type.

SCIM++ Properties:
  • caseExact: true
  • multiValued: false
  • mutability: readWrite
  • required: true
  • returned: default
  • type: string
  • uniqueness: none

Allowed values for this property are: “emailVerification”, “passwordReset”, “createUser”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this IdentitySettingsTokens.
Return type:str