UNPKG

1.69 kBTypeScriptView Raw
1/**
2 * -------------------------------------------------------------------------------------------
3 * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
4 * See License in the project root for license information.
5 * -------------------------------------------------------------------------------------------
6 */
7/**
8 * @module AuthenticationHandlerOptions
9 */
10import { AuthenticationProvider } from "../../IAuthenticationProvider";
11import { AuthenticationProviderOptions } from "../../IAuthenticationProviderOptions";
12import { MiddlewareOptions } from "./IMiddlewareOptions";
13/**
14 * @class
15 * @implements MiddlewareOptions
16 * Class representing AuthenticationHandlerOptions
17 */
18export declare class AuthenticationHandlerOptions implements MiddlewareOptions {
19 /**
20 * @public
21 * A member holding an instance of an authentication provider
22 */
23 authenticationProvider: AuthenticationProvider;
24 /**
25 * @public
26 * A member holding an instance of authentication provider options
27 */
28 authenticationProviderOptions: AuthenticationProviderOptions;
29 /**
30 * @public
31 * @constructor
32 * To create an instance of AuthenticationHandlerOptions
33 * @param {AuthenticationProvider} [authenticationProvider] - The authentication provider instance
34 * @param {AuthenticationProviderOptions} [authenticationProviderOptions] - The authentication provider options instance
35 * @returns An instance of AuthenticationHandlerOptions
36 */
37 constructor(authenticationProvider?: AuthenticationProvider, authenticationProviderOptions?: AuthenticationProviderOptions);
38}