core/authentication/password-validation.directive.ts
Password validation directive using shared PasswordValidationService.
Returns { password: { minLength, maxLength, allowedCharactersList } } for full message (with allowed symbols)
or { passwordSimple: { minLength, maxLength, allowedCharactersList } } for simple message (length only).
Validator
| Providers |
PasswordValidationDirective
|
| Selector | [c8yPasswordValidation] |
| Standalone | true |
Methods |
Inputs |
| minLength |
Type : number
|
|
Minimum length to be considered strong/green. Only used when strength is enforced. |
| passwordStrengthEnforced |
Type : boolean
|
| validate | ||||||
validate(control: AbstractControl)
|
||||||
|
Parameters :
Returns :
ValidationErrors | null
|