1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

enforce policies when options already known (#83)

This commit is contained in:
Kyle Spearrin
2020-03-03 16:03:26 -05:00
committed by GitHub
parent da9b9b438c
commit 44b86f5dd0
2 changed files with 19 additions and 15 deletions

View File

@@ -5,6 +5,7 @@ export abstract class PasswordGenerationService {
generatePassword: (options: any) => Promise<string>;
generatePassphrase: (options: any) => Promise<string>;
getOptions: () => Promise<[any, PasswordGeneratorPolicyOptions]>;
enforcePasswordGeneratorPoliciesOnOptions: (options: any) => Promise<[any, PasswordGeneratorPolicyOptions]>;
getPasswordGeneratorPolicyOptions: () => Promise<PasswordGeneratorPolicyOptions>;
saveOptions: (options: any) => Promise<any>;
getHistory: () => Promise<GeneratedPasswordHistory[]>;