File

core/authentication/password.service.ts

Index

Methods

Constructor

constructor(modalService: BsModalService)
Parameters :
Name Type Optional
modalService BsModalService No

Methods

confirmPassword
confirmPassword()
Returns : Observable<boolean>
currentPassword
currentPassword()

Returns an observable with the password provided by user:

  • string when user provided a value
  • null when user cancelled the modal
Returns : Observable<string | null>
getDefaultPasswordMinLength
getDefaultPasswordMinLength()
Returns : number
getStrengthColor
getStrengthColor(password: string)
Parameters :
Name Type Optional
password string No
hasLowerCase
hasLowerCase(password: string)
Parameters :
Name Type Optional
password string No
Returns : boolean
hasNumbers
hasNumbers(password: string)
Parameters :
Name Type Optional
password string No
Returns : boolean
hasSpecialChars
hasSpecialChars(password: string)
Parameters :
Name Type Optional
password string No
Returns : boolean
hasUpperCase
hasUpperCase(password: string)
Parameters :
Name Type Optional
password string No
Returns : boolean

results matching ""

    No results matching ""