@feathersjs/authentication
Version:
Add Authentication to your FeathersJS app.
8 lines (7 loc) • 362 B
TypeScript
import { HookContext, NextFunction } from '@feathersjs/feathers';
export interface AuthenticateHookSettings {
service?: string;
strategies?: string[];
}
declare const _default: (originalSettings: string | AuthenticateHookSettings, ...originalStrategies: string[]) => (context: HookContext, _next?: NextFunction) => Promise<any>;
export default _default;