Options
All
  • Public
  • Public/Protected
  • All
Menu

Password reset table service.

Hierarchy

  • PasswordResetService

Index

Constructors

constructor

Methods

createPasswordReset

deletePasswordReset

  • deletePasswordReset(passwordResetID: string): Promise<void>

getPasswordReset

getPasswordResetByUserID

getPasswordResets

getUserByPasswordReset

  • getUserByPasswordReset(passwordResetID: string): Promise<NBUser>

passwordResetExists

  • passwordResetExists(passwordResetID: string): Promise<boolean>

passwordResetExistsByUserID

  • passwordResetExistsByUserID(userID: string): Promise<boolean>
  • Determine whether or not a password reset record exists for a given user ID.

    Parameters

    • userID: string

      The ID of the user associated with the password reset record.

    Returns Promise<boolean>

    Whether or not the password reset record exists for the given user ID.

prunePasswordResets

  • prunePasswordResets(): Promise<void>

resetPassword

  • resetPassword(passwordResetID: string, newPassword: string): Promise<void>

Generated using TypeDoc