"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.RefreshingTunnelEventArgs = void 0;
/**
 * Event args for tunnel refresh event.
 */
class RefreshingTunnelEventArgs {
    /**
     * Creates a new instance of RefreshingTunnelAccessTokenEventArgs class.
     */
    constructor(
    /**
     * Tunnel access scope to get the token for.
     */
    tunnelAccessScope, 
    /**
     * Tunnel being refreshed.
     */
    tunnel, 
    /**
     * A value indicating whether ports need to be included into the refreshed tunnel.
     */
    includePorts, 
    /**
     * Management client used for connections.
     */
    managementClient, 
    /**
     * Cancellation token that event handler may observe when it asynchronously fetches the tunnel access token.
     */
    cancellation) {
        this.tunnelAccessScope = tunnelAccessScope;
        this.tunnel = tunnel;
        this.includePorts = includePorts;
        this.managementClient = managementClient;
        this.cancellation = cancellation;
    }
}
exports.RefreshingTunnelEventArgs = RefreshingTunnelEventArgs;
//# sourceMappingURL=https://github.com/VSCodium/sourcemaps/releases/download/stable-4c0b0c6cc561d2d3636d1ec250935431876ce4dc/node_modules-@microsoft-dev-tunnels-connections-refreshingTunnelEventArgs.js.map