CustomStrengthOptionsConfig interface

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;