Method RegisterAccountAsync(RegisterAccountRequest, CancellationToken)

Assembly: redb.Identity.Client.dll

N-3 (sub-step N3-7): proxy the anonymous self-service account registration to the
Identity host. Returns the structured response verbatim — unlike
the registration surface is NOT anti-enumeration,
so failure codes (duplicate / weak_password / validation_error /
registration_disabled) propagate to the caller so the UI can render actionable
messages.

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