UNPKG

feathers-authentication-management

Version:

Adds sign up verification, forgotten password reset, and other capabilities to local feathers-authentication

12 lines (11 loc) 539 B
import type { AuthenticationClient } from '@feathersjs/authentication-client'; import type { Application } from '@feathersjs/feathers'; import type { AuthenticationManagementClient, ClientOptions } from './types'; declare module '@feathersjs/feathers' { interface Application { authenticate: AuthenticationClient['authenticate']; logout: AuthenticationClient['logout']; } } declare function makeClient(app: Application, _options?: Partial<ClientOptions>): AuthenticationManagementClient; export default makeClient;