mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
sync organizations
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
import { OrganizationData } from '../models/data/organizationData';
|
||||
import { Organization } from '../models/domain/organization';
|
||||
|
||||
export abstract class UserService {
|
||||
userId: string;
|
||||
email: string;
|
||||
@@ -10,4 +13,8 @@ export abstract class UserService {
|
||||
getSecurityStamp: () => Promise<string>;
|
||||
clear: () => Promise<any>;
|
||||
isAuthenticated: () => Promise<boolean>;
|
||||
getOrganization: (id: string) => Promise<Organization>;
|
||||
getAllOrganizations: () => Promise<Organization[]>;
|
||||
replaceOrganizations: (organizations: { [id: string]: OrganizationData; }) => Promise<any>;
|
||||
clearOrganizations: (userId: string) => Promise<any>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user