1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 09:43:23 +00:00

convert user service to jslib

This commit is contained in:
Kyle Spearrin
2018-01-09 17:37:50 -05:00
parent 07e4758dee
commit 564d024dd1
4 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
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>;
}