getEnterprisePortalSignInToken api (#105)
This commit is contained in:
parent
2858724f44
commit
1bbd808105
|
@ -139,6 +139,7 @@ export abstract class ApiService {
|
||||||
postAccountRecoverDelete: (request: DeleteRecoverRequest) => Promise<any>;
|
postAccountRecoverDelete: (request: DeleteRecoverRequest) => Promise<any>;
|
||||||
postAccountRecoverDeleteToken: (request: VerifyDeleteRecoverRequest) => Promise<any>;
|
postAccountRecoverDeleteToken: (request: VerifyDeleteRecoverRequest) => Promise<any>;
|
||||||
postAccountKdf: (request: KdfRequest) => Promise<any>;
|
postAccountKdf: (request: KdfRequest) => Promise<any>;
|
||||||
|
getEnterprisePortalSignInToken: () => Promise<string>;
|
||||||
|
|
||||||
getFolder: (id: string) => Promise<FolderResponse>;
|
getFolder: (id: string) => Promise<FolderResponse>;
|
||||||
postFolder: (request: FolderRequest) => Promise<FolderResponse>;
|
postFolder: (request: FolderRequest) => Promise<FolderResponse>;
|
||||||
|
|
|
@ -321,6 +321,11 @@ export class ApiService implements ApiServiceAbstraction {
|
||||||
return this.send('POST', '/accounts/kdf', request, true, false);
|
return this.send('POST', '/accounts/kdf', request, true, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async getEnterprisePortalSignInToken(): Promise<string> {
|
||||||
|
const r = await this.send('GET', '/accounts/enterprise-portal-signin-token', null, true, true);
|
||||||
|
return r as string;
|
||||||
|
}
|
||||||
|
|
||||||
// Folder APIs
|
// Folder APIs
|
||||||
|
|
||||||
async getFolder(id: string): Promise<FolderResponse> {
|
async getFolder(id: string): Promise<FolderResponse> {
|
||||||
|
|
Loading…
Reference in New Issue