Table of Contents

Class RegisterRequestDto

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

Request DTO for the creation of new GastroSky.Models.DTO.Users.

public sealed class RegisterRequestDto
Inheritance
RegisterRequestDto
Inherited Members

Properties

Email

User.Email

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

Property Value

string

Language

The desired GastroSky.Models.DTO.User's User.Language.

public Language Language { get; set; }

Property Value

Language

PasswordHashSHA256

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

[Required]
public string PasswordHashSHA256 { 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