import { DaffFormsPasswordValidatorComboConfig } from '@daffodil/forms'
The combo config describes a password requirement that does not specify hardcoded requirements for each character class but instead that a certain number of any of the character characterClasses are present in the password value.
interface DaffFormsPasswordValidatorComboConfig {
numClasses: 2 | 1 | 3 | 4
occurences: number
}
numClasses 2 | 1 | 3 | 4 |
---|
How many of the 4 character characterClasses should be present. |
occurences number |
---|
How many occurences of a particular class need to be present for that class to count towards the |