Skip to main content

Crate rustauth_redis

Crate rustauth_redis 

Source
Expand description

Redis-backed integrations for RustAuth.

The rate limit store uses redis-rs with the async redis::aio::ConnectionManager, RESP-compatible Redis or Valkey servers, Lua scripting for atomic consume decisions, and core commands that are shared by Redis and Valkey.

Structs§

RedisOptions
Shared connection options for rate limiting and secondary storage.
RedisRateLimitOptions
RedisRateLimitStore
RedisSecondaryStorage
RedisSecondaryStorageOptions
RedisStores
Rate limit and secondary storage backed by one ConnectionManager.

Constants§

VERSION
Current crate version.

Type Aliases§

RedisRustAuthOptions
Previous name for RedisOptions; kept for migration.
RedisRustAuthStores
Previous name for RedisStores; kept for migration.