/** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * Contact: hello@goauthentik.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Password Policy Serializer * @export * @interface PasswordPolicy */ export interface PasswordPolicy { /** * * @type {string} * @memberof PasswordPolicy */ readonly pk: string; /** * * @type {string} * @memberof PasswordPolicy */ name: string; /** * When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged. * @type {boolean} * @memberof PasswordPolicy */ executionLogging?: boolean; /** * Get object component so that we know how to edit the object * @type {string} * @memberof PasswordPolicy */ readonly component: string; /** * Return object's verbose_name * @type {string} * @memberof PasswordPolicy */ readonly verboseName: string; /** * Return object's plural verbose_name * @type {string} * @memberof PasswordPolicy */ readonly verboseNamePlural: string; /** * Return internal model name * @type {string} * @memberof PasswordPolicy */ readonly metaModelName: string; /** * Return objects policy is bound to * @type {number} * @memberof PasswordPolicy */ readonly boundTo: number; /** * Field key to check, field keys defined in Prompt stages are available. * @type {string} * @memberof PasswordPolicy */ passwordField?: string; /** * * @type {number} * @memberof PasswordPolicy */ amountDigits?: number; /** * * @type {number} * @memberof PasswordPolicy */ amountUppercase?: number; /** * * @type {number} * @memberof PasswordPolicy */ amountLowercase?: number; /** * * @type {number} * @memberof PasswordPolicy */ amountSymbols?: number; /** * * @type {number} * @memberof PasswordPolicy */ lengthMin?: number; /** * * @type {string} * @memberof PasswordPolicy */ symbolCharset?: string; /** * * @type {string} * @memberof PasswordPolicy */ errorMessage?: string; /** * * @type {boolean} * @memberof PasswordPolicy */ checkStaticRules?: boolean; /** * * @type {boolean} * @memberof PasswordPolicy */ checkHaveIBeenPwned?: boolean; /** * * @type {boolean} * @memberof PasswordPolicy */ checkZxcvbn?: boolean; /** * How many times the password hash is allowed to be on haveibeenpwned * @type {number} * @memberof PasswordPolicy */ hibpAllowedCount?: number; /** * If the zxcvbn score is equal or less than this value, the policy will fail. * @type {number} * @memberof PasswordPolicy */ zxcvbnScoreThreshold?: number; } /** * Check if a given object implements the PasswordPolicy interface. */ export declare function instanceOfPasswordPolicy(value: object): value is PasswordPolicy; export declare function PasswordPolicyFromJSON(json: any): PasswordPolicy; export declare function PasswordPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordPolicy; export declare function PasswordPolicyToJSON(json: any): PasswordPolicy; export declare function PasswordPolicyToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=PasswordPolicy.d.ts.map