AuthenticationPolicy¶
-
class
oci.identity_data_plane.models.
AuthenticationPolicy
(**kwargs)¶ Bases:
object
Authentication policy, currently set for the given compartment
Methods
__init__
(**kwargs)Initializes a new AuthenticationPolicy object with values from keyword arguments. Attributes
compartment_id
Gets the compartment_id of this AuthenticationPolicy. password_policy
Gets the password_policy of this AuthenticationPolicy. -
__init__
(**kwargs)¶ Initializes a new AuthenticationPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - password_policy (oci.identity_data_plane.models.PasswordPolicy) – The value to assign to the password_policy property of this AuthenticationPolicy.
- compartment_id (str) – The value to assign to the compartment_id property of this AuthenticationPolicy.
-
compartment_id
¶ Gets the compartment_id of this AuthenticationPolicy. Compartment OCID.
Returns: The compartment_id of this AuthenticationPolicy. Return type: str
-
password_policy
¶ Gets the password_policy of this AuthenticationPolicy. Password policy.
Returns: The password_policy of this AuthenticationPolicy. Return type: oci.identity_data_plane.models.PasswordPolicy
-