2018-07-27 22:44:20 +02:00
|
|
|
import { GeneratedPasswordHistory } from '../models/domain/generatedPasswordHistory';
|
2018-01-09 23:55:32 +01:00
|
|
|
|
2018-01-29 23:59:57 +01:00
|
|
|
export abstract class PasswordGenerationService {
|
2018-04-23 19:03:47 +02:00
|
|
|
generatePassword: (options: any) => Promise<string>;
|
2018-01-29 23:59:57 +01:00
|
|
|
getOptions: () => any;
|
|
|
|
saveOptions: (options: any) => Promise<any>;
|
2018-07-27 22:44:20 +02:00
|
|
|
getHistory: () => Promise<GeneratedPasswordHistory[]>;
|
2018-01-29 23:59:57 +01:00
|
|
|
addHistory: (password: string) => Promise<any>;
|
|
|
|
clear: () => Promise<any>;
|
2018-01-09 23:55:32 +01:00
|
|
|
}
|