UNPKG

351 BTypeScriptView Raw
1import { RequestHandler } from 'express';
2export type AuthenticationSettings = {
3 service?: string;
4 strategies?: string[];
5};
6export declare function parseAuthentication(settings?: AuthenticationSettings): RequestHandler;
7export declare function authenticate(settings: string | AuthenticationSettings, ...strategies: string[]): RequestHandler;