Jump to top

PasswordValidationStatus

interface

A structure indicating which password policy requirements were met or violated and what the requirements are.

Properties

containsLowercaseLetter

</>

Whether the password contains a lowercase letter, or undefined if not required.

containsLowercaseLetter: undefined | false | true;

containsNonAlphanumericCharacter

</>

Whether the password contains a non-alphanumeric character, or undefined if not required.

containsNonAlphanumericCharacter: undefined | false | true;

containsNumericCharacter

</>

Whether the password contains a numeric character, or undefined if not required.

containsNumericCharacter: undefined | false | true;

containsUppercaseLetter

</>

Whether the password contains an uppercase letter, or undefined if not required.

containsUppercaseLetter: undefined | false | true;

isValid

</>

Whether the password meets all requirements.

isValid: boolean;

meetsMaxPasswordLength

</>

Whether the password meets the maximum password length, or undefined if not required.

meetsMaxPasswordLength: undefined | false | true;

meetsMinPasswordLength

</>

Whether the password meets the minimum password length, or undefined if not required.

meetsMinPasswordLength: undefined | false | true;

passwordPolicy

</>

The policy used to validate the password.

passwordPolicy: PasswordPolicy;