CustomStrengthOptionsConfig interface
Stay organized with collections
Save and categorize content based on your preferences.
Constraints to be enforced on the password policy
Signature:
export interface CustomStrengthOptionsConfig
Properties
Property |
Type |
Description |
maxLength |
number |
Maximum password length. No default max length |
minLength |
number |
Minimum password length. Valid values are from 6 to 30 |
requireLowercase |
boolean |
The password must contain a lower case character |
requireNonAlphanumeric |
boolean |
The password must contain a non-alphanumeric character |
requireNumeric |
boolean |
The password must contain a number |
requireUppercase |
boolean |
The password must contain an upper case character |
CustomStrengthOptionsConfig.maxLength
Maximum password length. No default max length
Signature:
maxLength?: number;
CustomStrengthOptionsConfig.minLength
Minimum password length. Valid values are from 6 to 30
Signature:
minLength?: number;
CustomStrengthOptionsConfig.requireLowercase
The password must contain a lower case character
Signature:
requireLowercase?: boolean;
CustomStrengthOptionsConfig.requireNonAlphanumeric
The password must contain a non-alphanumeric character
Signature:
requireNonAlphanumeric?: boolean;
CustomStrengthOptionsConfig.requireNumeric
The password must contain a number
Signature:
requireNumeric?: boolean;
CustomStrengthOptionsConfig.requireUppercase
The password must contain an upper case character
Signature:
requireUppercase?: boolean;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-06-01 UTC.
[null,null,["Last updated 2023-06-01 UTC."],[],[],null,["# CustomStrengthOptionsConfig interface\n\nConstraints to be enforced on the password policy\n\n**Signature:** \n\n export interface CustomStrengthOptionsConfig \n\nProperties\n----------\n\n| Property | Type | Description |\n|----------------------------------------------------------------------------------------------------------------------------------|---------|--------------------------------------------------------|\n| [maxLength](./firebase-admin.auth.customstrengthoptionsconfig.md#customstrengthoptionsconfigmaxlength) | number | Maximum password length. No default max length |\n| [minLength](./firebase-admin.auth.customstrengthoptionsconfig.md#customstrengthoptionsconfigminlength) | number | Minimum password length. Valid values are from 6 to 30 |\n| [requireLowercase](./firebase-admin.auth.customstrengthoptionsconfig.md#customstrengthoptionsconfigrequirelowercase) | boolean | The password must contain a lower case character |\n| [requireNonAlphanumeric](./firebase-admin.auth.customstrengthoptionsconfig.md#customstrengthoptionsconfigrequirenonalphanumeric) | boolean | The password must contain a non-alphanumeric character |\n| [requireNumeric](./firebase-admin.auth.customstrengthoptionsconfig.md#customstrengthoptionsconfigrequirenumeric) | boolean | The password must contain a number |\n| [requireUppercase](./firebase-admin.auth.customstrengthoptionsconfig.md#customstrengthoptionsconfigrequireuppercase) | boolean | The password must contain an upper case character |\n\nCustomStrengthOptionsConfig.maxLength\n-------------------------------------\n\nMaximum password length. No default max length\n\n**Signature:** \n\n maxLength?: number;\n\nCustomStrengthOptionsConfig.minLength\n-------------------------------------\n\nMinimum password length. Valid values are from 6 to 30\n\n**Signature:** \n\n minLength?: number;\n\nCustomStrengthOptionsConfig.requireLowercase\n--------------------------------------------\n\nThe password must contain a lower case character\n\n**Signature:** \n\n requireLowercase?: boolean;\n\nCustomStrengthOptionsConfig.requireNonAlphanumeric\n--------------------------------------------------\n\nThe password must contain a non-alphanumeric character\n\n**Signature:** \n\n requireNonAlphanumeric?: boolean;\n\nCustomStrengthOptionsConfig.requireNumeric\n------------------------------------------\n\nThe password must contain a number\n\n**Signature:** \n\n requireNumeric?: boolean;\n\nCustomStrengthOptionsConfig.requireUppercase\n--------------------------------------------\n\nThe password must contain an upper case character\n\n**Signature:** \n\n requireUppercase?: boolean;"]]