File

core/authentication/password-validation.directive.ts

Description

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).

Implements

Validator

Metadata

Index

Methods
Inputs

Inputs

minLength
Type : number

Minimum length to be considered strong/green. Only used when strength is enforced.

passwordStrengthEnforced
Type : boolean

Methods

validate
validate(control: AbstractControl)
Parameters :
Name Type Optional
control AbstractControl No

results matching ""

    No results matching ""