1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

password strength function with zxcvbn

This commit is contained in:
Kyle Spearrin
2018-11-12 22:54:18 -05:00
parent 786fa02b90
commit aa16fb2a9e
5 changed files with 56 additions and 2 deletions

View File

@@ -8,4 +8,5 @@ export abstract class PasswordGenerationService {
getHistory: () => Promise<GeneratedPasswordHistory[]>;
addHistory: (password: string) => Promise<any>;
clear: () => Promise<any>;
passwordStrength: (password: string, userInputs?: string[]) => zxcvbn.ZXCVBNResult;
}