Table of Contents

Class SetPasswordRequestDto

Namespace
GastroSky.Models.DTO.Auth
Assembly
GastroSky.Models.dll

Request DTO for setting a GastroSky.Models.DTO.User's password manually.

public sealed class SetPasswordRequestDto
Inheritance
SetPasswordRequestDto
Inherited Members

Properties

Email

User.Email

[Required]
[EmailAddress]
public string Email { get; set; }

Property Value

string

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

string

OldPasswordHashSHA256

SHA-256 hash of the user's current password, hex-encoded into a 64-character all-lowercase string.

public string? OldPasswordHashSHA256 { get; set; }

Property Value

string