UNPKG

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