An interface describing the 'Password Constraints' object property of the config object
object.
Properties:
Name | Type | Description |
---|---|---|
min_length | number | The minium length a password can be. |
max_length | number | the maximum length a password can be. |
min_excludeCharactersLength | number | The minimum length the 'exclude characters' string attribute can be. |
max_excludeCharactersLength | number | The maximum length the 'exclude characters' string attribute can be. |
min_whitespaceCharactersOffset | number | The offset used to indicate the minimum amount of characters needed to prevent generating passwords that will contain whitespace that would be trimmed out. This offset is used to adjust the |
max_whitespaceBetween | function | The maximum amount of whitespace characters allowed in the middle of a password. It's determined by checking if the |
min_whitespaceBetween | function | The minimum amount of whitespace characters allowed in the middle of a password. It's determined by checking if the |
- Source: