IdentitySettingsTokens¶
- class oci.identity_domains.models.IdentitySettingsTokens(**kwargs)¶
Bases:
objectA list of tokens and their expiry length.
Attributes:
A constant which can be used with the type property of a IdentitySettingsTokens.
A constant which can be used with the type property of a IdentitySettingsTokens.
A constant which can be used with the type property of a IdentitySettingsTokens.
Gets the expires_after of this IdentitySettingsTokens.
[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’.
- property 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
- property 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