core/authentication/password-strength.service.ts
Properties |
Methods |
|
constructor(ui: AppStateService)
|
||||||
Parameters :
|
Async getGreenMinLength |
getGreenMinLength()
|
Gets the minimal number of characters that a password should have to be considered a “green” strong one.
Returns :
unknown
The min length for password or default value. |
Async getPasswordStrengthEnforced | ||||||||
getPasswordStrengthEnforced(options?: literal type)
|
||||||||
Function determines if enforced strength checks should be enabled for current tenant based on properties retrieved from loginOptions
Parameters :
Returns :
unknown
boolean value, true if strength is enforced for tenant, false otherwise. |
Async getPasswordStrengthValidity | ||||||||
getPasswordStrengthValidity(refresh)
|
||||||||
Checks if password strength is enforced for particular tenant
by retrieving value of
Parameters :
Returns :
unknown
boolean value, true if enforced, false otherwise. |
GREEN_MIN_LENGTH_DEFAULT |
Type : number
|
Default value : 8
|