Class: AuthRecoveryNotificationService
Implements
AuthRecoveryNotificationServiceInterface
Constructors
new AuthRecoveryNotificationService()
new AuthRecoveryNotificationService(
settings
,emailService
):AuthRecoveryNotificationService
Parameters
Parameter | Type |
---|---|
settings | AuthRecoverySettingsInterface |
emailService | AuthRecoveryEmailServiceInterface |
Returns
AuthRecoveryNotificationService
Defined in
Methods
sendEmail()
sendEmail(
sendMailOptions
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
sendMailOptions | EmailSendOptionsInterface |
Returns
Promise
<void
>
Implementation of
AuthRecoveryNotificationServiceInterface.sendEmail
Defined in
sendPasswordUpdatedSuccefullyEmail()
sendPasswordUpdatedSuccefullyEmail(
Promise
<void
>
Parameters
Parameter | Type |
---|---|
email | string |
Returns
Promise
<void
>
Implementation of
AuthRecoveryNotificationServiceInterface.sendPasswordUpdatedSuccefullyEmail
Defined in
sendRecoverLoginEmail()
sendRecoverLoginEmail(
username
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
email | string |
username | string |
Returns
Promise
<void
>
Implementation of
AuthRecoveryNotificationServiceInterface.sendRecoverLoginEmail
Defined in
sendRecoverPasswordEmail()
sendRecoverPasswordEmail(
passcode
,resetTokenExp
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
email | string |
passcode | string |
resetTokenExp | Date |
Returns
Promise
<void
>
Implementation of
AuthRecoveryNotificationServiceInterface.sendRecoverPasswordEmail