API Reference
Rockets Core API
nestjs-auth-recovery
classes
AuthRecoveryNotificationService

Class: AuthRecoveryNotificationService

Implements

  • AuthRecoveryNotificationServiceInterface

Constructors

new AuthRecoveryNotificationService()

new AuthRecoveryNotificationService(settings, emailService): AuthRecoveryNotificationService

Parameters

ParameterType
settingsAuthRecoverySettingsInterface
emailServiceAuthRecoveryEmailServiceInterface

Returns

AuthRecoveryNotificationService

Defined in

packages/nestjs-auth-recovery/src/services/auth-recovery-notification.service.ts:16 (opens in a new tab)

Methods

sendEmail()

sendEmail(sendMailOptions): Promise<void>

Parameters

ParameterType
sendMailOptionsEmailSendOptionsInterface

Returns

Promise<void>

Implementation of

AuthRecoveryNotificationServiceInterface.sendEmail

Defined in

packages/nestjs-auth-recovery/src/services/auth-recovery-notification.service.ts:23 (opens in a new tab)


sendPasswordUpdatedSuccefullyEmail()

sendPasswordUpdatedSuccefullyEmail(email): Promise<void>

Parameters

ParameterType
emailstring

Returns

Promise<void>

Implementation of

AuthRecoveryNotificationServiceInterface.sendPasswordUpdatedSuccefullyEmail

Defined in

packages/nestjs-auth-recovery/src/services/auth-recovery-notification.service.ts:50 (opens in a new tab)


sendRecoverLoginEmail()

sendRecoverLoginEmail(email, username): Promise<void>

Parameters

ParameterType
emailstring
usernamestring

Returns

Promise<void>

Implementation of

AuthRecoveryNotificationServiceInterface.sendRecoverLoginEmail

Defined in

packages/nestjs-auth-recovery/src/services/auth-recovery-notification.service.ts:61 (opens in a new tab)


sendRecoverPasswordEmail()

sendRecoverPasswordEmail(email, passcode, resetTokenExp): Promise<void>

Parameters

ParameterType
emailstring
passcodestring
resetTokenExpDate

Returns

Promise<void>

Implementation of

AuthRecoveryNotificationServiceInterface.sendRecoverPasswordEmail

Defined in

packages/nestjs-auth-recovery/src/services/auth-recovery-notification.service.ts:27 (opens in a new tab)