36 lines
1.5 KiB
JavaScript
36 lines
1.5 KiB
JavaScript
|
"use strict";
|
||
|
// Copyright (c) Microsoft Corporation.
|
||
|
// Licensed under the MIT license.
|
||
|
// Generated from ../../../cs/src/Contracts/TunnelHeaderNames.cs
|
||
|
/* eslint-disable */
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
exports.TunnelHeaderNames = void 0;
|
||
|
/**
|
||
|
* Header names for http requests that Tunnel Service can handle
|
||
|
*/
|
||
|
var TunnelHeaderNames;
|
||
|
(function (TunnelHeaderNames) {
|
||
|
/**
|
||
|
* Additional authorization header that can be passed to tunnel web forwarding to
|
||
|
* authenticate and authorize the client. The format of the value is the same as
|
||
|
* Authorization header that is sent to the Tunnel service by the tunnel SDK.
|
||
|
* Supported schemes: "tunnel" with the tunnel access JWT good for 'Connect' scope.
|
||
|
*/
|
||
|
TunnelHeaderNames["XTunnelAuthorization"] = "X-Tunnel-Authorization";
|
||
|
/**
|
||
|
* Request ID header that nginx ingress controller adds to all requests if it's not
|
||
|
* there.
|
||
|
*/
|
||
|
TunnelHeaderNames["XRequestID"] = "X-Request-ID";
|
||
|
/**
|
||
|
* Github Ssh public key which can be used to validate if it belongs to tunnel's
|
||
|
* owner.
|
||
|
*/
|
||
|
TunnelHeaderNames["XGithubSshKey"] = "X-Github-Ssh-Key";
|
||
|
/**
|
||
|
* Header that will skip the antiphishing page when connection to a tunnel through web
|
||
|
* forwarding.
|
||
|
*/
|
||
|
TunnelHeaderNames["XTunnelSkipAntiPhishingPage"] = "X-Tunnel-Skip-AntiPhishing-Page";
|
||
|
})(TunnelHeaderNames = exports.TunnelHeaderNames || (exports.TunnelHeaderNames = {}));
|
||
|
//# sourceMappingURL=tunnelHeaderNames.js.map
|