Module api_key_store

Module api_key_store 

Source
Expand description

API Key storage and validation

Provides database-backed API key management with hashing and lookup.

Structs§

ApiKeyRecord
An API key record stored in the database
MemoryApiKeyStore
In-memory implementation of API key store (for testing)

Enums§

ApiKeyError
API key errors

Traits§

ApiKeyStore
API key storage trait

Functions§

validate_api_key
Validate an API key and return the associated record if valid