@feathersjs/authentication-local
Version:
Local authentication strategy for @feathers/authentication
8 lines (7 loc) • 387 B
TypeScript
import { HookContext, NextFunction } from '@feathersjs/feathers';
/**
* @deprecated For reliable safe data representations use Feathers schema dispatch resolvers.
* @see https://dove.feathersjs.comapi/authentication/local.html#protecting-fields
*/
declare const _default: (...fields: string[]) => (context: HookContext, next?: NextFunction) => Promise<void>;
export default _default;