Structs§
- Blind
Index Key - A dedicated HMAC key for deterministic blind indexes.
- Blind
Indexer - Versioned HMAC-SHA256 blind indexes with bounded key rotation.
- Ciphertext
- Versioned AES-256-GCM output. Authentication data is supplied separately.
- Encryption
Key - A 256-bit AES-GCM key identified for rotation.
- Encryptor
- AES-256-GCM key ring with one active encryption key and rotated decryption keys.
- File
Token Store - Single-process durable JSON store using atomic same-directory replacement.
- Jwt
- Verified JWT claims extracted by
JwtAuth. - JwtAuth
- Bearer middleware that verifies a JWT and inserts typed claims into request extensions.
- JwtClaims
- Standard JWT claims plus an application-defined payload.
- JwtConfig
- JwtKey
- A symmetric JWT key identified by
kidfor safe rotation. - JwtManager
- HS256 JWT issuer and verifier with explicit key rotation.
- JwtRejection
- Memory
Token Store - Password
- Argon2id password hashing and verification.
- Refresh
Record - Only hashes of opaque refresh tokens are persisted.
- Stateful
JwtAuth - Stateful Bearer authentication that rejects revoked access/family IDs.
- Token
Pair - Access/refresh credentials. Debug output never includes either token.
- Token
Service - Issues rotating refresh families and checks stateful access revocation.
Enums§
Constants§
- MAX_
BLIND_ INDEX_ KEYS - Maximum number of active and legacy keys in one blind-index key ring.
Traits§
- Token
Store - Atomic persistence contract required by refresh rotation and access revocation.