1 | import { HookContext } from '@feathersjs/feathers';
|
2 | import hashPassword from './hooks/hash-password';
|
3 | import { LocalStrategy } from './strategy';
|
4 | export declare const hooks: {
|
5 | hashPassword: typeof hashPassword;
|
6 | protect: (...fields: string[]) => (context: HookContext, next?: import("@feathersjs/feathers").NextFunction) => Promise<void>;
|
7 | };
|
8 | export { LocalStrategy };
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare const passwordHash: (options: {
|
17 | service?: string;
|
18 | strategy: string;
|
19 | }) => <H extends HookContext<any, any>>(value: string | undefined, _data: any, context: H) => Promise<string>;
|