models_v2.security_config_password_reuse module

class models_v2.security_config_password_reuse.SecurityConfigPasswordReuse(num_disallowed_old_passwords=None, num_different_chars=None)[source]

Bases: object

Implementation of the ‘SecurityConfigPasswordReuse’ model.

Specifies security config for password reuse.

Attributes:
num_disallowed_old_passwords (int): Specifies the minimum number of

old passwords that are not allowed for changing the password.

num_different_chars (int): Specifies the number of characters in the

new password that needs to be different from the old password (only applicable when changing the user’s own password).

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.