Options
All
  • Public
  • Public/Protected
  • All
Menu

Module managers/password/strength/strength-policy

Type aliases

UserInputsProvider

UserInputsProvider<Account>: function

Function which provides user inputs from the user account to zxcvbn(see user_inputs).
Usually they will be values of the AccountModel.username, AccountModel.email, AccountModel.telephone and other sensitive data which can't be used as password.

Type parameters

Type declaration

    • (account: Account): string[]
    • Parameters

      • account: Account

      Returns string[]