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:
12
src/abstractions/user.service.ts
Normal file
12
src/abstractions/user.service.ts
Normal 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>;
|
||||
}
|
||||
Reference in New Issue
Block a user