Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PasswordStrengthValidator<Account>

Validator which ensures that password is strong enough. It uses zxcvbn.

Type parameters

Hierarchy

  • PasswordStrengthValidator

Implements

Constructors

Methods

Constructors

constructor

Methods

validate

  • validate(password: string, account: Account): Promise<void>