interface PasswordRule {
    lowercaseChar?: "ALLOWED" | "REQUIRED";
    maxLength: number;
    minLength: number;
    numberChar?: "ALLOWED" | "REQUIRED";
    symbolChar?: "ALLOWED" | "REQUIRED";
    uppercaseChar?: "ALLOWED" | "REQUIRED";
}

Properties

lowercaseChar?: "ALLOWED" | "REQUIRED"

Allow or require lowercase characters

maxLength: number

Set maximum characters

minLength: number

Set minimum characters

numberChar?: "ALLOWED" | "REQUIRED"

Allow or require numbers

symbolChar?: "ALLOWED" | "REQUIRED"

Allow or require symbols

uppercaseChar?: "ALLOWED" | "REQUIRED"

Allow or require uppercase characters

Generated using TypeDoc