mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
API for getting policies by token (#80)
* API for getting policies by token * not authed when calling this API
This commit is contained in:
@@ -192,6 +192,8 @@ export abstract class ApiService {
|
||||
|
||||
getPolicy: (organizationId: string, type: PolicyType) => Promise<PolicyResponse>;
|
||||
getPolicies: (organizationId: string) => Promise<ListResponse<PolicyResponse>>;
|
||||
getPoliciesByToken: (organizationId: string, token: string, email: string, organizationUserId: string) =>
|
||||
Promise<ListResponse<PolicyResponse>>;
|
||||
putPolicy: (organizationId: string, type: PolicyType, request: PolicyRequest) => Promise<PolicyResponse>;
|
||||
|
||||
getOrganizationUser: (organizationId: string, id: string) => Promise<OrganizationUserDetailsResponse>;
|
||||
|
||||
Reference in New Issue
Block a user