1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-19 07:35:48 +02:00
bitwarden-browser/src/abstractions/passwordGeneration.service.ts
2018-07-27 16:44:20 -04:00

11 lines
414 B
TypeScript

import { GeneratedPasswordHistory } from '../models/domain/generatedPasswordHistory';
export abstract class PasswordGenerationService {
generatePassword: (options: any) => Promise<string>;
getOptions: () => any;
saveOptions: (options: any) => Promise<any>;
getHistory: () => Promise<GeneratedPasswordHistory[]>;
addHistory: (password: string) => Promise<any>;
clear: () => Promise<any>;
}