mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-19 07:35:48 +02:00
11 lines
414 B
TypeScript
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>;
|
|
}
|