mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-19 07:35:48 +02:00
13 lines
395 B
TypeScript
13 lines
395 B
TypeScript
|
import { PasswordHistory } from '../models/domain/passwordHistory';
|
||
|
|
||
|
export interface PasswordGenerationService {
|
||
|
optionsCache: any;
|
||
|
history: PasswordHistory[];
|
||
|
generatePassword(options: any): string;
|
||
|
getOptions(): any;
|
||
|
saveOptions(options: any): Promise<any>;
|
||
|
getHistory(): PasswordHistory[];
|
||
|
addHistory(password: string): Promise<any>;
|
||
|
clear(): Promise<any>;
|
||
|
}
|