@feathersjs/koa
Version:
Feathers KoaJS framework bindings and REST provider
8 lines (7 loc) • 346 B
TypeScript
import { Middleware } from './declarations';
export type AuthenticationSettings = {
service?: string;
strategies?: string[];
};
export declare function parseAuthentication(settings?: AuthenticationSettings): Middleware;
export declare function authenticate(settings: string | AuthenticationSettings, ...strategies: string[]): Middleware;