Skip to main content

Abblix.Oidc.Server.Features.Storages Namespace

Abblix.Oidc.Server

Abblix.Oidc.Server.Features.Storages Namespace

Classes
AuthorizationCodeServiceProvides services for managing the lifecycle of OAuth 2.0 authorization codes. This service generates, stores, validates, and deletes authorization codes as part of the authorization code grant flow.
AuthorizationRequestStorageProvides storage and retrieval services for OAuth 2.0 authorization requests using a distributed cache. This class is designed to handle the storage of AuthorizationRequest objects and facilitate their retrieval using unique request URIs, supporting scenarios such as the OAuth 2.0 Pushed Authorization Requests (PAR).
CompositeBinarySerializerA composite serializer that tries Protocol Buffers first, then falls back to JSON for unsupported types.
DistributedCacheStorageProvides a general-purpose distributed caching mechanism with serialization support, enabling the storage and retrieval of serialized objects.
EntityStorageKeyFactoryCentralized factory for generating entity storage keys with consistent formatting. Provides standardized key generation for all OIDC storage entities.
ProtobufSerializerProvides functionality to serialize and deserialize objects to and from Protocol Buffer binary representations. Implements the IBinarySerializer interface using Google.Protobuf for efficient serialization.
StorageOptionsProvides configuration settings for cache entry behaviors in storage operations.
TokenRegistryManages the registration and tracking of JSON Web Token (JWT) statuses within a persistent storage. This class is responsible for determining the current status of JWTs, such as whether they are active, revoked, or expired, and updating these statuses as necessary.
Interfaces
IAuthorizationCodeServiceProvides a contract for managing OAuth 2.0 authorization codes, facilitating the authorization code flow. This interface enables the generation of unique authorization codes for authenticated sessions, the validation of these codes for user authorization, and the subsequent removal of codes once they have been used or expired, ensuring adherence to the OAuth 2.0 specification.
IAuthorizationRequestStorageProvides mechanisms for securely storing and retrieving OAuth 2.0 authorization requests. This interface abstracts the storage layer, allowing for implementation-specific details such as database, cache or filesystem storage.
IEntityStorageKey/value storage abstraction over short-lived OIDC entities (authorization codes, PAR requests, CIBA/device authorization records, JWT statuses, rate-limit counters). Each entry has an expiration policy expressed via StorageOptions; implementations may be in-process or distributed.
IEntityStorageKeyFactoryDefines a contract for generating entity storage keys with consistent formatting. Provides standardized key generation for all OIDC storage entities.
ITokenRegistryRepresents a registry that manages the statuses of JSON Web Tokens (JWTs). This registry allows for tracking and updating the status of tokens, such as marking them as used or revoked.