diff --git a/src/abstractions/api.service.ts b/src/abstractions/api.service.ts index 1fc71b9c1c..dec3062ae7 100644 --- a/src/abstractions/api.service.ts +++ b/src/abstractions/api.service.ts @@ -139,6 +139,7 @@ export abstract class ApiService { postAccountRecoverDelete: (request: DeleteRecoverRequest) => Promise; postAccountRecoverDeleteToken: (request: VerifyDeleteRecoverRequest) => Promise; postAccountKdf: (request: KdfRequest) => Promise; + getEnterprisePortalSignInToken: () => Promise; getFolder: (id: string) => Promise; postFolder: (request: FolderRequest) => Promise; diff --git a/src/services/api.service.ts b/src/services/api.service.ts index 70a91f36c3..e8c5c0d462 100644 --- a/src/services/api.service.ts +++ b/src/services/api.service.ts @@ -321,6 +321,11 @@ export class ApiService implements ApiServiceAbstraction { return this.send('POST', '/accounts/kdf', request, true, false); } + async getEnterprisePortalSignInToken(): Promise { + const r = await this.send('GET', '/accounts/enterprise-portal-signin-token', null, true, true); + return r as string; + } + // Folder APIs async getFolder(id: string): Promise {