UNPKG

1.49 kBJavaScriptView Raw
1"use strict";
2/**
3 * -------------------------------------------------------------------------------------------
4 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
5 * See License in the project root for license information.
6 * -------------------------------------------------------------------------------------------
7 */
8Object.defineProperty(exports, "__esModule", { value: true });
9exports.AuthenticationHandlerOptions = void 0;
10/**
11 * @class
12 * @implements MiddlewareOptions
13 * Class representing AuthenticationHandlerOptions
14 */
15var AuthenticationHandlerOptions = /** @class */ (function () {
16 /**
17 * @public
18 * @constructor
19 * To create an instance of AuthenticationHandlerOptions
20 * @param {AuthenticationProvider} [authenticationProvider] - The authentication provider instance
21 * @param {AuthenticationProviderOptions} [authenticationProviderOptions] - The authentication provider options instance
22 * @returns An instance of AuthenticationHandlerOptions
23 */
24 function AuthenticationHandlerOptions(authenticationProvider, authenticationProviderOptions) {
25 this.authenticationProvider = authenticationProvider;
26 this.authenticationProviderOptions = authenticationProviderOptions;
27 }
28 return AuthenticationHandlerOptions;
29}());
30exports.AuthenticationHandlerOptions = AuthenticationHandlerOptions;
31//# sourceMappingURL=AuthenticationHandlerOptions.js.map
\No newline at end of file