Class ResetPasswordForm
Represents the form data for resetting a user's password using a reset token.
public class ResetPasswordForm
- Inheritance
-
ResetPasswordForm
- Inherited Members
Remarks
This form is used to complete the password reset process after a user has requested a password reset via ForgotPasswordForm. The token is typically sent via email and must be provided along with the new password.
Properties
Gets or sets the email address of the user resetting their password.
public string? Email { get; set; }
Property Value
Remarks
This email is used to identify the user account that will have its password reset.
Password
Gets or sets the new password the user wants to set.
public string? Password { get; set; }
Property Value
Remarks
This will become the user's new password after successful validation and token verification.
Token
Gets or sets the password reset token that was sent to the user's email.
public string? Token { get; set; }
Property Value
Remarks
This token must be valid and not expired for the password reset to succeed. The token is typically Base64-URL encoded.