Skip to main content

Module redis_token_store

Module redis_token_store 

Source
Expand description

Redis-backed one-time token store — use with the redis-tokens feature.

Drop-in replacement for [OneTimeTokenStore] for multi-instance deployments. Tokens are stored with Redis SET … EX and consumed atomically with a Lua GET+DEL script.

Structs§

RedisTokenStore
Redis-backed single-use token store.