1 | import { Query, Params } from '@feathersjs/feathers';
|
2 | import { AuthenticationRequest, AuthenticationBaseStrategy } from '@feathersjs/authentication';
|
3 | export declare class LocalStrategy extends AuthenticationBaseStrategy {
|
4 | verifyConfiguration(): void;
|
5 | get configuration(): any;
|
6 | getEntityQuery(query: Query, _params: Params): Promise<{
|
7 | $limit: number;
|
8 | }>;
|
9 | findEntity(username: string, params: Params): Promise<any>;
|
10 | getEntity(result: any, params: Params): Promise<any>;
|
11 | comparePassword(entity: any, password: string): Promise<any>;
|
12 | hashPassword(password: string, _params: Params): Promise<string>;
|
13 | authenticate(data: AuthenticationRequest, params: Params): Promise<{
|
14 | [x: number]: any;
|
15 | authentication: {
|
16 | strategy: string;
|
17 | };
|
18 | }>;
|
19 | }
|