GitHub

DaffResetPasswordServiceInterface

import { DaffResetPasswordServiceInterface } from '@daffodil/auth/driver'

interface DaffResetPasswordServiceInterface<T extends DaffAuthResetPasswordInfo = DaffAuthResetPasswordInfo> {
  resetPassword(info: T): Observable<string>
  resetPasswordOnly(info: T): Observable<void>
  sendResetEmail(email: string): Observable<void>
}

() Methods

resetPassword
Observable<string>

Resets password for the specified customer and logs in.

Parameters
Parameterinfo: T
Description
resetPasswordOnly
Observable<void>

Resets password for the specified customer.

Parameters
Parameterinfo: T
Description
sendResetEmail
Observable<void>

Send a password reset email to the specified email address.

Parameters
Parameteremail: string
Description