RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

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.Tsak.Core.Security Show all

redb.Tsak.Core.Security

Classes

C AdminAuditEvent Snapshot of a single audited admin operation.
C AdminAuditFilter Cross-cutting filter that emits an for every action
C ApiKeyProps Props class for API key entries stored as redb objects.
C ApiKeyRecord Represents a stored API key with associated metadata.
C ApiKeyService Validates API keys against .
C ApiResponse Unified API error/success response helpers for all Tsak controllers.
C AuditAdminActionAttribute Marks a controller action as an audited admin operation.
C AuthorizeProcessor Route pipeline processor that enforces API key authentication.
C ConfigApiKeyStore API key store backed by IConfiguration (appsettings).
C ConfigRedactor Redacts secrets from effective-configuration output (GET /api/system/config).
C FailedAttemptThrottle Per-key failed-attempt throttle (review item 4.5). After failures within
C LogAdminAuditService Fallback used when Tsak runs without a database
C NoRoleRequiredAttribute Marks an action (or a whole controller) as requiring no particular role — a valid API key
C RedbApiKeyStore Redb-backed API key store. Persists keys across restarts and cluster nodes.
C RequiresRoleAttribute Declares the role(s) required to invoke a controller action. Applied to a method it
C RoleAuthorizationProcessor Enforces on controller actions.
C RouteAdminAuditService Persistent admin audit sink: hands each event to the direct://tsak-audit route,
C TsakRoles Well-known Tsak roles, ordered by privilege: <

Interfaces

I IAdminAuditService SPI for delivering admin audit events to a sink. The effective implementation is
I IApiKeyStore Persistent store for API keys. Implementations: config-based, redb-backed, etc.