Class SetPasswordRequestDto
Request DTO for setting a GastroSky.Models.DTO.User's password manually.
public sealed class SetPasswordRequestDto
- Inheritance
-
SetPasswordRequestDto
- Inherited Members
Properties
User.Email
[Required]
[EmailAddress]
public string Email { get; set; }
Property Value
NewPasswordHashSHA256
SHA-256 hash of the user's desired new password, hex-encoded into a 64-character all-lowercase string.
[Required]
public string NewPasswordHashSHA256 { get; set; }
Property Value
OldPasswordHashSHA256
SHA-256 hash of the user's current password, hex-encoded into a 64-character all-lowercase string.
public string? OldPasswordHashSHA256 { get; set; }