password_data

Methods

# (async, static) FindUserByPasswordResetCode(passwordResetCode)

Finds a user by their password reset code.

Parameters:
Name Type Description
passwordResetCode string

The password reset code.

# (async, static) PasswordReset(passwordResetCode, newPassword, confirmNewPassword)

Resets a user's password.

Parameters:
Name Type Description
passwordResetCode string

The password reset code.

newPassword string

The new password.

confirmNewPassword string

The new password confirmed.

# (async, static) RequestPasswordReset(email)

Sends a password reset email to a user.

Parameters:
Name Type Description
email string

The email of the user.