UNPKG

@feathersjs/authentication-local

Version:

Local authentication strategy for @feathers/authentication

7 lines (6 loc) 327 B
import { HookContext } from '@feathersjs/feathers'; export interface HashPasswordOptions { authentication?: string; strategy?: string; } export default function hashPassword(field: string, options?: HashPasswordOptions): (context: HookContext) => Promise<HookContext<any, import("@feathersjs/feathers").Service<any>>>;