UNPKG

feathers-authentication-management

Version:

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

5 lines (4 loc) 610 B
import type { Params } from '@feathersjs/feathers'; import type { IdentifyUser, ResetPasswordOptions, ResetPwdWithShortTokenOptions, SanitizedUser, NotifierOptions } from '../types'; export declare function resetPwdWithLongToken(options: ResetPasswordOptions, resetToken: string, password: string, notifierOptions?: NotifierOptions, params?: Params): Promise<SanitizedUser>; export declare function resetPwdWithShortToken(options: ResetPwdWithShortTokenOptions, resetShortToken: string, identifyUser: IdentifyUser, password: string, notifierOptions?: NotifierOptions, params?: Params): Promise<SanitizedUser>;