PasswordValidationStatus interface

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

Signature:

exportinterfacePasswordValidationStatus

Properties

PropertyTypeDescription
containsLowercaseLetterbooleanWhether the password contains a lowercase letter, or undefined if not required.
containsNonAlphanumericCharacterbooleanWhether the password contains a non-alphanumeric character, or undefined if not required.
containsNumericCharacterbooleanWhether the password contains a numeric character, or undefined if not required.
containsUppercaseLetterbooleanWhether the password contains an uppercase letter, or undefined if not required.
isValidbooleanWhether the password meets all requirements.
meetsMaxPasswordLengthbooleanWhether the password meets the maximum password length, or undefined if not required.
meetsMinPasswordLengthbooleanWhether the password meets the minimum password length, or undefined if not required.
passwordPolicyPasswordPolicyThe policy used to validate the password.

PasswordValidationStatus.containsLowercaseLetter

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

Signature:

readonlycontainsLowercaseLetter?:boolean;

PasswordValidationStatus.containsNonAlphanumericCharacter

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

Signature:

readonlycontainsNonAlphanumericCharacter?:boolean;

PasswordValidationStatus.containsNumericCharacter

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

Signature:

readonlycontainsNumericCharacter?:boolean;

PasswordValidationStatus.containsUppercaseLetter

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

Signature:

readonlycontainsUppercaseLetter?:boolean;

PasswordValidationStatus.isValid

Whether the password meets all requirements.

Signature:

readonlyisValid:boolean;

PasswordValidationStatus.meetsMaxPasswordLength

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

Signature:

readonlymeetsMaxPasswordLength?:boolean;

PasswordValidationStatus.meetsMinPasswordLength

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

Signature:

readonlymeetsMinPasswordLength?:boolean;

PasswordValidationStatus.passwordPolicy

The policy used to validate the password.

Signature:

readonlypasswordPolicy:PasswordPolicy;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-08-17 UTC.