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 MiddlewareFactory
|
9 | */
|
10 | import { AuthenticationProvider } from "../IAuthenticationProvider";
|
11 | import { Middleware } from "./IMiddleware";
|
12 | /**
|
13 | * @class
|
14 | * Class containing function(s) related to the middleware pipelines.
|
15 | */
|
16 | export declare class MiddlewareFactory {
|
17 | /**
|
18 | * @public
|
19 | * @static
|
20 | * Returns the default middleware chain an array with the middleware handlers
|
21 | * @param {AuthenticationProvider} authProvider - The authentication provider instance
|
22 | * @returns an array of the middleware handlers of the default middleware chain
|
23 | */
|
24 | static getDefaultMiddlewareChain(authProvider: AuthenticationProvider): Middleware[];
|
25 | }
|