UNPKG

@feathersjs/express

Version:

Feathers Express framework bindings and REST provider

8 lines (7 loc) 351 B
import { RequestHandler } from 'express'; export type AuthenticationSettings = { service?: string; strategies?: string[]; }; export declare function parseAuthentication(settings?: AuthenticationSettings): RequestHandler; export declare function authenticate(settings: string | AuthenticationSettings, ...strategies: string[]): RequestHandler;