botframework-connector
Version:
Bot Connector is autorest generated connector client.
36 lines • 1.62 kB
JavaScript
;
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
exports.BetweenBotAndAseChannelTokenValidationParameters = exports.ToBotFromBotOrEmulatorTokenValidationParameters = void 0;
// Internal
/**
* Default options for validating incoming tokens from the Bot Framework Emulator and Skills.
*/
exports.ToBotFromBotOrEmulatorTokenValidationParameters = {
issuer: [
'https://sts.windows.net/d6d49420-f39b-4df7-a1dc-d59a935871db/',
'https://login.microsoftonline.com/d6d49420-f39b-4df7-a1dc-d59a935871db/v2.0',
'https://sts.windows.net/f8cdef31-a31e-4b4a-93e4-5f571e91255a/',
'https://login.microsoftonline.com/f8cdef31-a31e-4b4a-93e4-5f571e91255a/v2.0',
'https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/',
'https://sts.windows.net/cab8a31a-1906-4287-a0d8-4eef66b95f6e/',
'https://login.microsoftonline.us/cab8a31a-1906-4287-a0d8-4eef66b95f6e/v2.0',
'https://login.microsoftonline.us/f8cdef31-a31e-4b4a-93e4-5f571e91255a/',
'https://login.microsoftonline.us/f8cdef31-a31e-4b4a-93e4-5f571e91255a/v2.0', // Auth for US Gov, 2.0 token
],
audience: undefined,
clockTolerance: 5 * 60,
ignoreExpiration: false,
};
// Internal
/**
* Default options for validating incoming tokens from the Bot Ase Channel.
*/
exports.BetweenBotAndAseChannelTokenValidationParameters = {
issuer: [],
audience: undefined,
clockTolerance: 5 * 60,
ignoreExpiration: false,
};
//# sourceMappingURL=tokenValidationParameters.js.map