@microsoft/dev-tunnels-connections
Version:
Tunnels library for Visual Studio tools
27 lines • 912 B
JavaScript
;
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.RefreshingTunnelAccessTokenEventArgs = void 0;
/**
* Event args for tunnel access token refresh event.
*/
class RefreshingTunnelAccessTokenEventArgs {
/**
* Creates a new instance of RefreshingTunnelAccessTokenEventArgs class.
*/
constructor(
/**
* Tunnel access scope to get the token for.
*/
tunnelAccessScope,
/**
* Cancellation token that event handler may observe when it asynchronously fetches the tunnel access token.
*/
cancellation) {
this.tunnelAccessScope = tunnelAccessScope;
this.cancellation = cancellation;
}
}
exports.RefreshingTunnelAccessTokenEventArgs = RefreshingTunnelAccessTokenEventArgs;
//# sourceMappingURL=refreshingTunnelAccessTokenEventArgs.js.map