docs-devsite/auth.passwordvalidationstatus.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
A structure indicating which password policy requirements were met or violated and what the requirements are.
<b>Signature:</b>
export interface PasswordValidationStatus
| Property | Type | Description |
|---|---|---|
| containsLowercaseLetter | boolean | Whether the password contains a lowercase letter, or undefined if not required. |
| containsNonAlphanumericCharacter | boolean | Whether the password contains a non-alphanumeric character, or undefined if not required. |
| containsNumericCharacter | boolean | Whether the password contains a numeric character, or undefined if not required. |
| containsUppercaseLetter | boolean | Whether the password contains an uppercase letter, or undefined if not required. |
| isValid | boolean | Whether the password meets all requirements. |
| meetsMaxPasswordLength | boolean | Whether the password meets the maximum password length, or undefined if not required. |
| meetsMinPasswordLength | boolean | Whether the password meets the minimum password length, or undefined if not required. |
| passwordPolicy | PasswordPolicy | The policy used to validate the password. |
Whether the password contains a lowercase letter, or undefined if not required.
<b>Signature:</b>
readonly containsLowercaseLetter?: boolean;
Whether the password contains a non-alphanumeric character, or undefined if not required.
<b>Signature:</b>
readonly containsNonAlphanumericCharacter?: boolean;
Whether the password contains a numeric character, or undefined if not required.
<b>Signature:</b>
readonly containsNumericCharacter?: boolean;
Whether the password contains an uppercase letter, or undefined if not required.
<b>Signature:</b>
readonly containsUppercaseLetter?: boolean;
Whether the password meets all requirements.
<b>Signature:</b>
readonly isValid: boolean;
Whether the password meets the maximum password length, or undefined if not required.
<b>Signature:</b>
readonly meetsMaxPasswordLength?: boolean;
Whether the password meets the minimum password length, or undefined if not required.
<b>Signature:</b>
readonly meetsMinPasswordLength?: boolean;
The policy used to validate the password.
<b>Signature:</b>
readonly passwordPolicy: PasswordPolicy;