Method RegisterAccountAsync(RegisterAccountRequest, CancellationToken)

Assembly: redb.Identity.Client.dll

Creates a new user account through the anonymous self-service registration
endpoint POST /api/v1/identity/account/register. Returns
{ success = true, userId, login } on success. Distinct from the password-
recovery endpoints, this surface is NOT anti-enumeration: duplicate-login /
duplicate-email collisions and weak-password violations are returned as
structured error codes so the calling UI can render an actionable message.
Requires NO prior authentication.

Task<RegisterAccountResponse> RegisterAccountAsync(RegisterAccountRequest request, CancellationToken ct = default)