Name of the Redis connection to use (must match connection name in config/redis.ts)
OptionalencryptEncrypt the session data with the encryption service instead of only signing it. Sessions written without encryption cannot be read once it is enabled, so users start a new session.
Defaults to false
Configuration for Redis-based session storage. Sessions are stored in a Redis database with automatic expiry.
Example