mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-19 07:35:48 +02:00
13 lines
386 B
TypeScript
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>;
|
|
}
|