1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

convert services to abstractions

This commit is contained in:
Kyle Spearrin
2018-01-23 17:29:15 -05:00
parent 6c9e0c4cd3
commit edc3bd1f81
10 changed files with 60 additions and 59 deletions

View File

@@ -1,5 +1,5 @@
export abstract class AuthService {
logIn: (email: string, masterPassword: string, twoFactorProvider?: number,
twoFactorToken?: string, remember?: boolean) => any;
logIn: (email: string, masterPassword: string, twoFactorProvider?: number, twoFactorToken?: string,
remember?: boolean) => Promise<any>;
logOut: (callback: Function) => void;
}