Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains the results of a password validation.

Hierarchy

  • PasswordValidationResult

Index

Properties

score

score: ZXCVBNScore

A score indicating the strength of the password.

  • 0 - too guessable - risky password - (guesses < 10^3).

  • 1 - very guessable - protection from throttled online attacks - (guesses < 10^6).

  • 2 - somewhat guessable - protection from unthrottled online attacks - (guesses < 10^8).

  • 3 - safely unguessable - moderate protection from offline slow-hash scenario - (guesses < 10^10).

  • 4 - very unguessable - strong protection from offline slow-hash scenario - (guesses >= 10^10).

Source

suggestions

suggestions: string[]

Suggestions (if any) to improve the password.

valid

valid: boolean

Indicates if the password is valid or not.

Optional warning

warning: string

A warning (if any) about the password.

Generated using TypeDoc