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

13 lines
404 B
TypeScript
Raw Normal View History

2018-01-09 23:55:32 +01:00
import { PasswordHistory } from '../models/domain/passwordHistory';
export interface PasswordGenerationService {
optionsCache: any;
history: PasswordHistory[];
generatePassword(options: any): string;
getOptions(): any;
saveOptions(options: any): Promise<any>;
2018-01-19 20:58:06 +01:00
getHistory(): Promise<PasswordHistory[]>;
2018-01-09 23:55:32 +01:00
addHistory(password: string): Promise<any>;
clear(): Promise<any>;
}