Class RegisterAccountRequest

Assembly: redb.Identity.Contracts.dll

N-3 (sub-step N3-6/N3-7): request body for self-service account registration
(direct-vm://identity-account-register and the HTTP facade
POST /api/v1/identity/account/register).

Endpoint is anonymous and gated by RedbIdentityOptions.Registration.Enabled;
when the master switch is off the route is not built and the facade returns 404.
Rate-limiting is layered upstream identically to .

public class RegisterAccountRequest

Inheritance

Object→RegisterAccountRequest

Properties

DisplayName

Optional display name. Defaults to the login when omitted.

public string? DisplayName { get; set; }

Email

Required e-mail address. Unlike the admin path, anonymous registration cannot

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

Login

Desired login. Must be unique. Same validation as the admin CreateUser path

[Required]
public required string Login { get; set; }

Password

Initial password. Validated against the full server-side password policy

[Required]
public required string Password { get; set; }