Skip to content

PasswordPolicy Type documentation

Properties
Whether to allow whitespaces. By default whitespaces are not allowed.
allowWhitespace?: boolean
Define if digits are required in password.
digits: boolean
Define if lowercase characters are required in password.
lowercase: boolean
Define minimal number of characters.
minLength: number
Minimum required policies for valid password. When set to a number greater than 0, defines the number of policies that must be met for the password to be valid. E.g. when set to 3 and the policies uppercase/lowercase/digits/special are all set and the password contains 3 out of these four, the password will be valid.
minRequiredPolicies?: number
Define if special characters are required in password.
special: boolean
Define if uppercase characters are required in password.
uppercase: boolean

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.