Expand description
Storage contracts and built-in store implementations for broker token records.
Re-exports§
pub use file::FileStore;pub use memory::MemoryStore;
Modules§
- file
- Simple file-backed
BrokerStorefor lightweight deployments and bots. - memory
- Thread-safe in-memory
BrokerStoreimplementation for local development and tests.
Structs§
- Store
Key - Unique key identifying a stored token record.
Enums§
- Compare
AndSwap Outcome - Result of a refresh-token compare-and-swap attempt.
- Store
Error - Error type produced by
BrokerStoreimplementations.
Traits§
- Broker
Store - Storage backend contract implemented by broker token stores.
Type Aliases§
- Store
Future - Persistence contract for broker-issued tokens.