PyUserAuthenticationType
class PyUserAuthenticationType(user_authentication_type)
Bases: object
Structure representing the authentication type of a user.
- Parameters: user_authentication_type (UserAuthenticationType)
__init__(user_authentication_type)
Creates a new PyUserAuthenticationType object.
Args: : user_authentication_type: A UserAuthenticationType object.
Returns: None.
- Parameters: user_authentication_type (UserAuthenticationType)
- Return type: None
Methods
__init__ (user_authentication_type) |
Creates a new PyUserAuthenticationType object. |
---|---|
for_authentication_type (authentication_type) |
Creates a new UserAuthenticationType value. |
for_configuration_id (idp_configuration_id) |
Creates a new UserAuthenticationType value. |
get_default () |
Gets a value representing the site default authentication type. |
Attributes
authentication_type |
Gets the authentication type, or null if the site uses IdpConfigurationIds. |
---|---|
idp_configuration_id |
Gets the IdP configuration ID, or null if the site uses AuthenticationTypes. |
classmethod get_default()
Gets a value representing the site default authentication type.
- Return type: Self
property authentication_type : str
Gets the authentication type, or null if the site uses IdpConfigurationIds.
property idp_configuration_id : UUID
Gets the IdP configuration ID, or null if the site uses AuthenticationTypes.
classmethod for_authentication_type(authentication_type)
Creates a new UserAuthenticationType value.
Args: : authentication_type: The authentication type.
Returns: The created UserAuthenticationType value.
- Parameters: authentication_type (str)
- Return type: Self
classmethod for_configuration_id(idp_configuration_id)
Creates a new UserAuthenticationType value.
Args: : idp_configuration_id: The IdP configuration ID.
Returns: The created UserAuthenticationType value.
- Parameters: idp_configuration_id (UUID)
- Return type: Self