Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.07 KB

File metadata and controls

44 lines (35 loc) · 2.07 KB

PatchedPasswordPolicyRequest

Password Policy Serializer

Properties

Name Type Description Notes
name str [optional]
execution_logging bool When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged. [optional]
password_field str Field key to check, field keys defined in Prompt stages are available. [optional]
amount_digits int [optional]
amount_uppercase int [optional]
amount_lowercase int [optional]
amount_symbols int [optional]
length_min int [optional]
symbol_charset str [optional]
error_message str [optional]
check_static_rules bool [optional]
check_have_i_been_pwned bool [optional]
check_zxcvbn bool [optional]
hibp_allowed_count int How many times the password hash is allowed to be on haveibeenpwned [optional]
zxcvbn_score_threshold int If the zxcvbn score is equal or less than this value, the policy will fail. [optional]

Example

from authentik_client.models.patched_password_policy_request import PatchedPasswordPolicyRequest

# TODO update the JSON string below
json = "{}"
# create an instance of PatchedPasswordPolicyRequest from a JSON string
patched_password_policy_request_instance = PatchedPasswordPolicyRequest.from_json(json)
# print the JSON string representation of the object
print(PatchedPasswordPolicyRequest.to_json())

# convert the object into a dict
patched_password_policy_request_dict = patched_password_policy_request_instance.to_dict()
# create an instance of PatchedPasswordPolicyRequest from a dict
patched_password_policy_request_from_dict = PatchedPasswordPolicyRequest.from_dict(patched_password_policy_request_dict)

[Back to Model list] [Back to API list] [Back to README]