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 (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 (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:NetworkPolicy
password_policy

Gets the password_policy of this AuthenticationPolicy.

Returns:The password_policy of this AuthenticationPolicy.
Return type:PasswordPolicy