GitHub

DaffResetPasswordServiceInterface

interface

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

Resets password for the specified customer and logs in.

Parameters
Parameterinfo: T
Description
resetPasswordOnly
Observable

Resets password for the specified customer.

Parameters
Parameterinfo: T
Description
sendResetEmail
Observable

Send a password reset email to the specified email address.

Parameters
Parameteremail: string
Description