/*! * Copyright (c) 2020 Ville de Montreal. All rights reserved. * Licensed under the MIT license. * See LICENSE file in the project root for full license information. */ import { IOidcSession, IOidcAuthenticatorConfig } from '@villedemontreal/auth-oidc'; import { Request } from 'request'; /** * * @param session the OIDC session used to provide the access tokens * @param [authenticatorConfig] the config for customizing this authenticator */ export declare function authenticator(session: IOidcSession, authenticatorConfig?: Readonly): { bind: (target: Request | import("request").Options | import("request").CoreOptions) => void; }; export declare function canApplyAuthenticator(req: Request, authenticatorConfig?: Readonly): boolean;