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

14 lines
420 B
TypeScript
Raw Normal View History

2018-02-08 18:24:37 +01:00
export abstract class UserService {
2018-01-09 23:37:50 +01:00
userId: string;
email: string;
stamp: string;
2018-02-08 18:24:37 +01:00
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>;
2018-01-09 23:37:50 +01:00
}