Table of Contents

Class SignupRequest

Namespace
Builvero.Application.DTOs.Auth
Assembly
Builvero.Application.dll

Request model for user registration (signup) with email and password.

public class SignupRequest
Inheritance
SignupRequest
Inherited Members

Remarks

This DTO is used by the signup endpoint to create new user accounts. All fields are required. The invitation code must be valid and active for registration to succeed.

Properties

Email

Gets or sets the email address for the new user account.

public string Email { get; set; }

Property Value

string
Request model for user registration (signup) with email and password.

Remarks

Must be a valid email format and must not already be registered in the system.

InvitationCode

Gets or sets the invitation code required for user registration.

public string InvitationCode { get; set; }

Property Value

string
Request model for user registration (signup) with email and password.

Remarks

Must be a valid, active invitation code. The code must not have exceeded its maximum uses and must not have expired (if an expiration date is set).

Password

Gets or sets the password for the new user account.

public string Password { get; set; }

Property Value

string
Request model for user registration (signup) with email and password.

Remarks

Must be at least 8 characters long. The password will be hashed using BCrypt before storage.

PasswordConfirmation

Gets or sets the password confirmation, which must match the Password field.

public string PasswordConfirmation { get; set; }

Property Value

string
Request model for user registration (signup) with email and password.

Remarks

This field is used to ensure the user typed their password correctly. Both fields must match exactly.