API Reference
Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.
Showing: redb.Identity.Contracts
Show all
redb.Identity.Contracts
Classes
| IdentityVerdict | Reads the identity core's verdict out of an answer. |
Enums
| IdentityVerdictKind | What the identity core decided about a request, said once in a form no transport owns. |
redb.Identity.Contracts.Applications
redb.Identity.Contracts.Audit
Classes
| AuditQueryItem | A single audit row in . |
| AuditQueryRequest | H9 (v1.0 DoD): Audit log query request for GET /api/v1/identity/audit. |
| AuditQueryResponse | Paged result of . |
redb.Identity.Contracts.ClaimDefinitions
Classes
| ClaimDefinitionResponse | S2 — admin read DTO for a claim definition. See |
| CreateClaimDefinitionRequest | S2 — admin create DTO. The (ClaimName, Scope, ApplicationId) triplet is |
| UpdateClaimDefinitionRequest | S2 — admin update DTO. Null fields leave the existing stored value |
redb.Identity.Contracts.ClaimMappers
Classes
| AssignClaimScopeRequest | H5: Assign a Client Scope to an Application. |
| ClaimMapperResponse | |
| ClaimScopeAssignmentResponse | |
| ClaimScopeDeletedResponse | The answer of deleting a claim scope, with what the deletion removed along with it. |
| ClaimScopeResponse | |
| CreateClaimMapperRequest | H5: Create a new identity.claim_mapper PROPS row. Scope is determined by |
| CreateClaimScopeRequest | H5: Create a reusable Client Scope (named bundle of claim mappers). |
| UpdateClaimMapperRequest | H5: Update an existing claim mapper. Owner / scope is immutable post-creation. |
| UpdateClaimScopeRequest |
redb.Identity.Contracts.Common
Classes
| ErrorResponse | The error document a management or account route answers with when it refuses a request: |
| IdempotencyRecordPrunePreview | The answer of the idempotency record cleanup asked as a dry run: how many expired records a run woul... |
| IdempotencyRecordPruneResult | The answer of the cleanup of expired idempotency records: {"prunedIdempotencyRecords":3}. |
| ListRequest | Pagination parameters for list operations. |
| MfaOtpPruneResult | The answer of the MFA one-time-code cleanup: {"prunedMfaOtp":3}. |
| OneTimeSecretAttribute | Marks a result member that carries a value the caller is shown once: a generated secret, a bearer to... |
| PagedResult<T> | Paginated result wrapper. |
| RevokedSidsPruneResult | The answer of the revoked session id (sid) cleanup: {"prunedRevokedSids":3}. |
| SecretWithheldReplayResponse | The answer to a repeated request with an Idempotency-Key whose first answer carried a one-time |
| SuccessResponse | The answer of a management operation that has nothing to return but its outcome, such as a deletion: |
| WebAuthnChallengePruneResult | The answer of the cleanup of consumed WebAuthn challenges: {"prunedWebAuthnChallenges":3}. |
redb.Identity.Contracts.Configuration
Classes
| FederationProviderConfig | Configuration for a single federated authentication provider (OIDC, etc.). |
| IdentityCookieOptions | C9 — cookie security defaults shared by every cookie Identity emits. |
| IdentityFeatureFlags | Cross-module feature toggles for the Identity product surface. |
| IdentityScopes | Central registry of OAuth scopes recognised by the management API. |
| IdentitySharedOptions | Cross-module shared options for the Identity product surface. |
| OAuth2EndpointOverrides | Per-provider override of the well-known OAuth2 endpoints used by |
Enums
| CookieSameSiteMode | SameSite cookie modes per RFC 6265bis. None requires Secure. |
redb.Identity.Contracts.Consents
Classes
| ConsentRequiredResponse | Machine-readable counterpart of the consent_required 302 redirect from |
| ConsentResponse | Consent grant record returned by the management API. |
| GrantMyConsentRequest | Self-service consent grant request for POST /me/consents. The caller's |
| MeRevokeConsentRequest | Self-service consent revoke request for DELETE /me/consents/{clientId}. |
| MyConsentGrantedResponse | The answer of granting a consent through the self-service API. |
| MyConsentRevokedResponse | The answer of revoking a consent through the self-service API: {"revoked":1}. |
redb.Identity.Contracts.Cors
Classes
| CorsCheckRequest | Phase 9d cross-context request DTO for direct-vm://identity-cors-check. |
| CorsCheckResponse | Reply DTO for direct-vm://identity-cors-check. |
Interfaces
| IRegisteredClientOriginRegistry | In-memory registry of allowed CORS origins derived from registered OAuth clients' |
redb.Identity.Contracts.Endpoints
Classes
| BootstrapAdminRequest | B1 — request DTO for POST /internal/bootstrap-admin |
| BootstrapAdminResponse | B1 — reply DTO for POST /internal/bootstrap-admin. |
| ValidatePostLogoutRedirectRequest | Phase 9d cross-context request DTO for direct-vm://identity-validate-post-logout. |
| ValidatePostLogoutRedirectResponse | Reply DTO for direct-vm://identity-validate-post-logout. |
redb.Identity.Contracts.Events
Classes
| IdentityEvent | Base identity event — all events carry these fields. |
redb.Identity.Contracts.Federation
Classes
| CreateFederationProviderRequest | |
| FederatedIdentityResponse | H8 (DoD §4 gap (b)): one entry returned by GET /me/federated-identities. |
| FederatedIdentityUnlinkedResponse | The answer of unlinking an external identity from the caller's account. |
| FederationProviderResponse | H8 (DoD §4 gap (e)): admin-API DTO for an PROPS-stored federation provider config. |
| LinkFederatedIdentityChallengeResponse | H8: response from POST /me/federated-identities/link-challenge. |
| LinkFederatedIdentityRequest | H8 (DoD §4 gap (b)): self-service request to start a "link this provider to my |
| PublicFederationProviderDescriptor | Public projection of a federation provider safe for unauthenticated callers (login |
| UpdateFederationProviderRequest |
redb.Identity.Contracts.Groups
Classes
| AddMemberRequest | |
| CreateGroupRequest | |
| GroupChangedResponse | The answer of a group update or deletion: {"success":true,"groupId":42}. |
| GroupMemberAddedResponse | The answer of adding a user to a group, with the id of the new membership. |
| GroupMemberChangedResponse | The answer of changing a member's role in a group. |
| GroupMemberRemovedResponse | The answer of removing a user from a group. |
| GroupMembershipCheckResponse | The answer of GET groups/{id}/members/{userId}/check. |
| GroupMovedResponse | The answer of moving a group under another parent. |
| GroupResponse | A group as the management API answers it. The members are declared in the order they are written. |
| GroupTreeNodeResponse | A group with its subtree: the answer of GET groups/{id}/tree. |
| MemberResponse | |
| MoveGroupRequest | |
| UpdateGroupRequest | |
| UpdateMemberRequest |
redb.Identity.Contracts.Mfa
Classes
| MfaConfirmedResponse | The answer of confirming an MFA enrollment: the recovery codes, shown this once. |
| MfaDisabledResponse | The answer of disabling an MFA method. |
| MfaMethodsFromStateRequest | Phase 9d cross-context request DTO for direct-vm://identity-mfa-methods-from-state. |
| MfaMethodsFromStateResponse | Reply DTO for direct-vm://identity-mfa-methods-from-state. |
| MfaRecoveryCodesResponse | The answer of regenerating the recovery codes: the new codes, shown this once. |
| MfaSetupResponse | The answer of starting an MFA enrollment. It carries what the user needs to finish it, shown this on... |
| MfaStatusResponse | The MFA state of a user, answered by the management MFA status operation. |
| WebAuthnCredentialList | The caller's registered WebAuthn credentials. |
| WebAuthnCredentialResponse | One registered WebAuthn credential. |
| WebAuthnDeletedResponse | A deleted WebAuthn credential. |
| WebAuthnRegisteredResponse | A completed WebAuthn registration. |
| WebAuthnRegistrationOptionsResponse | The start of a WebAuthn registration: the creation options for the browser and the setup token. |
| WebAuthnRenamedResponse | A renamed WebAuthn credential. |
| WebAuthnStatusResponse | The WebAuthn state of the caller, answered by the self-service WebAuthn status operation. |
Interfaces
| IMfaStateInspector | Minimal read-only surface over the encrypted MFA challenge state for transport facades |
redb.Identity.Contracts.Module
Classes
| InitRoute | Deliberately empty Tsak module. This package exists for its companion, not its code: |
redb.Identity.Contracts.Registration
Classes
| DynamicRegistrationRequest | RFC 7591 §2 Client Metadata for Dynamic Client Registration. |
| DynamicRegistrationResponse | RFC 7591 §3.2.1 Client Information Response for Dynamic Client Registration. |
redb.Identity.Contracts.Roles
Classes
| CreateRoleRequest | |
| RoleAssignmentResponse | B.3 — a single assignment row, surfaces both directions: |
| RoleResponse | |
| RoleScopeResponse | One attached scope on a role's permission tab. |
| UpdateRoleRequest | Null fields preserve the existing value (PATCH semantics). Name + |
redb.Identity.Contracts.Routes
Classes
| IdentityAuditCategories | Category constants stored in the identity_audit_log.category column. |
| IdentityAuditEventIds | H9 (v1.0 DoD): Centralized audit event catalog. |
| IdentityEndpoints | All direct-vm:// endpoint URIs and RouteIds for the Identity Server. |
| IdentityReservedInboundHeaders | Exchange header names that carry internal, server-derived state and must never arrive from a |
redb.Identity.Contracts.Routes.IdentityEndpoints
Classes
| IdentityEndpoints.RouteIds |
redb.Identity.Contracts.Scim
Classes
| ScimAddress | SCIM Address (RFC 7643 §4.1.2). |
| ScimAuthenticationScheme | |
| ScimBulkConfig | |
| ScimBulkOperation | Single bulk operation (RFC 7644 §3.7). |
| ScimBulkOperationResponse | Single bulk operation result (RFC 7644 §3.7). |
| ScimBulkRequest | SCIM 2.0 Bulk request (RFC 7644 §3.7). |
| ScimBulkResponse | SCIM 2.0 Bulk response (RFC 7644 §3.7). |
| ScimConstants | SCIM 2.0 constants (RFC 7643/7644). |
| ScimEnterpriseUser | SCIM 2.0 Enterprise User extension (RFC 7643 §4.3). |
| ScimError | SCIM 2.0 error response (RFC 7644 §3.12). |
| ScimFilterConfig | |
| ScimGroup | SCIM 2.0 Group resource (RFC 7643 §4.2). |
| ScimGroupRef | Group reference (read-only on User) per RFC 7643 §4.1.2. |
| ScimListResponse<T> | SCIM 2.0 ListResponse (RFC 7644 §3.4.2). |
| ScimManager | The manager complex attribute of the Enterprise User extension (RFC 7643 §4.3). |
| ScimMemberRef | Member reference (for groups) per RFC 7643 §4.2. |
| ScimMeta | SCIM 2.0 resource metadata (RFC 7643 §3.1). |
| ScimMultiValuedAttribute | Multi-valued attribute entry (emails, phoneNumbers, etc.) per RFC 7643 §2.4. |
| ScimName | SCIM Name component (RFC 7643 §4.1.1). |
| ScimPatchOperation | Single PATCH operation (RFC 7644 §3.5.2). |
| ScimPatchRequest | SCIM 2.0 PATCH request (RFC 7644 §3.5.2). |
| ScimResourceType | SCIM 2.0 ResourceType (RFC 7643 §6). |
| ScimSchema | SCIM 2.0 Schema resource (RFC 7643 §7). |
| ScimSchemaAttribute | SCIM Schema attribute definition (RFC 7643 §7). |
| ScimSchemaDefinitions | Provides static SCIM 2.0 schema definitions for User and Group (RFC 7643 §7). |
| ScimSchemaExtension | A schema extension declared on a ResourceType (RFC 7643 §6). required says whether the |
| ScimServiceProviderConfig | SCIM 2.0 ServiceProviderConfig resource (RFC 7643 §5). |
| ScimSupported | |
| ScimUser | SCIM 2.0 User resource (RFC 7643 §4.1). |
redb.Identity.Contracts.Scopes
redb.Identity.Contracts.Serialization
Classes
| IdentityWireProfiles | Locked wire-format JSON profiles for redb.Identity transports |
redb.Identity.Contracts.Sessions
Classes
| RevokedSidEntry | One entry in the revoked-sids list returned to a polling Relying Party (RP). |
| RevokedSidsAddRequest | Request body for POST /api/internal/revoked-sids. |
| RevokedSidsSinceResponse | Response of GET /api/internal/revoked-sids/since?cursor=.... |
| SessionPage | A page of the active sessions of all users, answered by the admin-wide session list. |
| SessionPruneResult | The answer of the session cleanup: {"prunedSessions":4,"expiredActiveSessions":1}. |
| SessionResponse | Session record returned by the management API. |
| SessionRevokePreview | The answer of revoking all sessions of a user with dryRun: how many would be revoked and the ids of ... |
redb.Identity.Contracts.SigningKeys
Classes
| RotateSigningKeyRequest | Request shape for POST /signing-keys/rotate. |
| SigningKeyListResponse | Response shape for GET /signing-keys. |
| SigningKeyResponse | One row of the signing-key store as exposed by the admin /signing-keys list endpoint. |
| SigningKeyRetiredResponse | The answer of retiring a signing key: {"success":true,"kid":"..."}. |
redb.Identity.Contracts.Tokens
Classes
| IntrospectionResponse | |
| RevokedCountResponse | The answer of revoking all tokens of a subject: {"revokedCount":3}. |
| TokenInfoResponse | Administrative token info (for management endpoint, not OAuth flow). |
| TokenPrunePreview | The answer of a token prune asked as a dry run: what a prune would remove now, with nothing removed. |
| TokenPruneResult | The answer of a token prune: {"prunedTokens":12,"prunedAuthorizations":3}. Tokens past the retention |
| TokenRequest | |
| TokenResponse |
redb.Identity.Contracts.Users
Classes
| AddressDto | OIDC structured address claim (§5.1.1). |
| AdminResetPasswordRequest | Admin-side password reset for a user, bypassing the "old password" challenge |
| ChangeEmailConfirmRequest | N-4 (Session E, sub-step N4-7): request body for |
| ChangeEmailConfirmResponse | N-4 (Session E, sub-step N4-7): response for the confirm endpoint. |
| ChangeEmailRequestRequest | N-4 (Session E, sub-step N4-7): request body for |
| ChangeEmailRequestResponse | N-4 (Session E, sub-step N4-7): response for the request endpoint. Always |
| ChangePasswordRequest | |
| CreateUserRequest | |
| EmailVerifyConfirmRequest | N-4 (Session C, sub-step N4-6): request body for |
| EmailVerifyConfirmResponse | N-4 (Session C, sub-step N4-6): response for the confirm endpoint. |
| EmailVerifySendRequest | N-4 (Session C, sub-step N4-6): request body for |
| EmailVerifySendResponse | N-4 (Session C, sub-step N4-6): generic response for the send endpoint. Always |
| ExternalIdentityDto | DTO representing a federation identity link to an external provider. |
| ImpersonationStartedResponse | The answer of starting an impersonation: the user the administrator now acts as. |
| ImpersonationStoppedResponse | The answer of stopping an impersonation: {"stopped":true}. |
| MeChangePasswordRequest | Self-service password change request for PUT /me/password. |
| MeUpdateProfileRequest | Self-service profile update request for PUT /me. Caller identity is derived |
| PasswordForgotRequest | N-4 (Session C): request body for direct-vm://identity-password-forgot |
| PasswordForgotResponse | N-4 (Session C): generic response for the forgot endpoint. Always |
| PasswordResetRequest | N-4 (Session C): request body for direct-vm://identity-password-reset |
| PasswordResetResponse | N-4 (Session C): response for the reset endpoint. On success, is |
| RegisterAccountRequest | N-3 (sub-step N3-6/N3-7): request body for self-service account registration |
| RegisterAccountResponse | N-3: response for . The processor returns |
| UpdateUserRequest | |
| UserResponse |
redb.Identity.Contracts.Validation
Classes
| RequestValidator | Centralised DataAnnotations-driven request DTO validation. |
| ScimRequestValidator | SCIM 2.0 request DTO validation. Returns a populated |
| ValidationErrorResponse | The refusal of a request that fails its declared validation rules: the first rule broken as the |
redb.Identity.Contracts.Webhooks
Classes
| CreateWebhookSubscriptionRequest | |
| UpdateWebhookSubscriptionRequest | Null fields preserve existing values (PATCH semantics). HMAC secret is |
| WebhookDeliveryItem | One row of the delivery outbox. |
| WebhookDeliveryPage | A page of the delivery outbox (webhooks and audit targets), newest first, without payloads. |
| WebhookSecretRotatedResponse | The answer of rotating a webhook secret when the subscription could not be read back right after the |
| WebhookSubscriptionResponse |