AuthenticationPolicy¶
-
class
oci.identity.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. network_policy
Gets the network_policy 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.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.
- network_policy (oci.identity.models.NetworkPolicy) – The value to assign to the network_policy 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
-
network_policy
¶ Gets the network_policy of this AuthenticationPolicy.
Returns: The network_policy of this AuthenticationPolicy. Return type: oci.identity.models.NetworkPolicy
-
password_policy
¶ Gets the password_policy of this AuthenticationPolicy.
Returns: The password_policy of this AuthenticationPolicy. Return type: oci.identity.models.PasswordPolicy
-