Module resetPasswordService
Functions
Const getResetToken
-
Parameters
Returns Promise<string>
Const recoverPassword
- recoverPassword(options: AuthistOptions): (email: string, req?: any) => Promise<undefined>
-
Parameters
Returns (email: string, req?: any) => Promise<undefined>
-
- (email: string, req?: any): Promise<undefined>
-
Parameters
-
email: string
-
Optional req: any
Returns Promise<undefined>
Const resetPassword
- resetPassword(options: AuthistOptions): (token: string, password: string, req?: any) => Promise<undefined>
-
Parameters
Returns (token: string, password: string, req?: any) => Promise<undefined>
-
- (token: string, password: string, req?: any): Promise<undefined>
-
Parameters
-
token: string
-
password: string
-
Optional req: any
Returns Promise<undefined>