feat(gateway-clients): add managed gateway client administration and token-bound route ownership
This commit is contained in:
@@ -12,6 +12,14 @@ export class WorkHosterManager {
|
||||
return response.capabilities;
|
||||
}
|
||||
|
||||
public async getGatewayClientContext(): Promise<interfaces.data.IGatewayClientContext> {
|
||||
const response = await this.clientRef.request<interfaces.requests.IReq_GetGatewayClientContext>(
|
||||
'getGatewayClientContext',
|
||||
this.clientRef.buildRequestPayload() as any,
|
||||
);
|
||||
return response.context;
|
||||
}
|
||||
|
||||
public async getDomains(): Promise<interfaces.data.IWorkHosterDomain[]> {
|
||||
const response = await this.clientRef.request<interfaces.requests.IReq_GetWorkHosterDomains>(
|
||||
'getWorkHosterDomains',
|
||||
|
||||
Reference in New Issue
Block a user