feat(remoteingress): add ability to generate remote ingress connection tokens and UI copy action; add hubDomain config option; update remoteingress dependency to ^3.1.1
This commit is contained in:
@@ -117,3 +117,24 @@ export interface IReq_GetRemoteIngressStatus extends plugins.typedrequestInterfa
|
||||
statuses: IRemoteIngressStatus[];
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a connection token for a remote ingress edge.
|
||||
* The token is a single opaque base64url string that encodes hubHost, hubPort, edgeId, and secret.
|
||||
*/
|
||||
export interface IReq_GetRemoteIngressConnectionToken extends plugins.typedrequestInterfaces.implementsTR<
|
||||
plugins.typedrequestInterfaces.ITypedRequest,
|
||||
IReq_GetRemoteIngressConnectionToken
|
||||
> {
|
||||
method: 'getRemoteIngressConnectionToken';
|
||||
request: {
|
||||
identity?: authInterfaces.IIdentity;
|
||||
edgeId: string;
|
||||
hubHost?: string;
|
||||
};
|
||||
response: {
|
||||
success: boolean;
|
||||
token?: string;
|
||||
message?: string;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user