Add Redis-based one-time download token support
Integrate Redis as a backend for one-time download token validation, with in-memory fallback. Added RedisManager for connection lifecycle, TokenStore for atomic token usage checks, and related configuration via environment variables. Updated download flow to ensure tokens are single-use, and improved API robustness for batch operations. Updated dependencies to include redis and cachetools.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
from .password.pwd import Password, PasswordStatus
|
||||
from .http import http_exceptions
|
||||
from .http import http_exceptions
|
||||
from .conf import appmeta
|
||||
Reference in New Issue
Block a user