models_v2.security_config_password_strength module¶
-
class
models_v2.security_config_password_strength.
SecurityConfigPasswordStrength
(min_length=None, include_upper_letter=None, include_lower_letter=None, include_number=None, include_special_char=None)[source]¶ Bases:
object
Implementation of the ‘SecurityConfigPasswordStrength’ model.
Specifies security config for password strength.
- Attributes:
min_length (int): Specifies the password minimum length. include_upper_letter (bool): Specifies if the password needs to have
at least one uppercase letter.
- include_lower_letter (bool): Specifies if the password needs to have
at least one lowercase letter.
- include_number (bool): Specifies if the password needs to have at
least one number.
- include_special_char (bool): Specifies if the password needs to have
at least one special character.
-
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.