1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-19 07:35:48 +02:00
bitwarden-browser/src/abstractions/user.service.ts
2018-01-09 17:37:50 -05:00

13 lines
386 B
TypeScript

export interface UserService {
userId: string;
email: string;
stamp: string;
setUserIdAndEmail(userId: string, email: string): Promise<any>;
setSecurityStamp(stamp: string): Promise<any>;
getUserId(): Promise<string>;
getEmail(): Promise<string>;
getSecurityStamp(): Promise<string>;
clear(): Promise<any>;
isAuthenticated(): Promise<boolean>;
}