Class AccountRegistrationController

Assembly: redb.Identity.Management.dll

N-3 (sub-step N3-7): anonymous self-service account-registration HTTP facade.
POST /api/v1/identity/account/register \u2014 create a new account
using a supplied login + e-mail + password. Returns the new user id on success;
409 duplicate on collision; 400 weak_password / validation_error
on input violations; 404 not_found when the feature gate is off, because the
route is then not bound at all and this deployment has no such endpoint
(IdentityClient reads that back as registration_disabled).

Requires NO bearer token \u2014 the route lives on the anonymous prefix
/api/v1/identity/account/. Brute-force / enumeration is mitigated by the per-IP
throttle processor sitting in front of the direct-vm route (configured in
IdentityCoreRouteBuilder).

[Route("account")]
public class AccountRegistrationController : IdentityControllerBase

Inheritance

Object→RedbController→IdentityControllerBase→AccountRegistrationController

Inherited Members

Methods

Register(RegisterAccountRequest)

Register a new account. Unlike the password-recovery endpoints this is NOT an

[HttpPost("register")]
public Task<object?> Register(RegisterAccountRequest request)