Table of Contents

Class CompleteResetPasswordRequestDto

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

Request DTO for completing a password reset flow.

public sealed class CompleteResetPasswordRequestDto
Inheritance
CompleteResetPasswordRequestDto
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

Totp

Valid TOTP for authorizing the request. The requesting GastroSky.Models.DTO.User should have received this via email.

[Required]
public string Totp { get; set; }

Property Value

string