AuthenticationPolicy

class oci.identity.models.AuthenticationPolicy(**kwargs)

Bases: object

Authentication policy, currently set for the given compartment

__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 (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:PasswordPolicy