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

13 lines
386 B
TypeScript
Raw Normal View History

2018-01-09 23:37:50 +01:00
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>;
}