Share via


ResetPasswordRequest Class

Definition

The response type for the "/resetPassword" endpoint added by MapIdentityApi<TUser>(IEndpointRouteBuilder). The "/resetPassword" endpoint requires the "/forgotPassword" endpoint to be called first to get the ResetCode.

public sealed class ResetPasswordRequest
type ResetPasswordRequest = class
Public NotInheritable Class ResetPasswordRequest
Inheritance
ResetPasswordRequest

Constructors

ResetPasswordRequest()

Properties

Email

The email address for the user requesting a password reset. This should match Email.

NewPassword

The new password the user with the given Email should login with. This will replace the previous password.

ResetCode

The code sent to the user's email to reset the password. To get the reset code, first make a "/forgotPassword" request.

Applies to