Class RegisterAccountResponse

Assembly: redb.Identity.Contracts.dll

N-3: response for . The processor returns
= true together with the new user id on success, and a
structured error code on failure (validation / duplicate / disabled). Unlike the
password-recovery endpoint this is NOT an anti-enumeration surface — duplicate
login / e-mail must be visible so the UI can render an actionable message.

public class RegisterAccountResponse

Inheritance

Object→RegisterAccountResponse

Properties

Error

Stable machine-readable error code on failure: validation_error /

public string? Error { get; set; }

ErrorDescription

Human-readable description for the failing case. Safe to surface to the user.

public string? ErrorDescription { get; set; }

Login

Echo of Login on success — useful for the BFF auto-sign-in step.

public string? Login { get; set; }

Success

true when the account was created and persisted.

public bool Success { get; set; }

UserId

Identifier of the newly created user. Populated only when = true.

public long? UserId { get; set; }