HTTPCacheBackend#
authx_extra.cache.HTTPCacheBackend #
PARAMETER | DESCRIPTION |
---|---|
redis | TYPE: |
namespace | TYPE: |
Source code in authx_extra/cache.py
set async
#
PARAMETER | DESCRIPTION |
---|---|
key | TYPE: |
value | TYPE: |
ttl_in_seconds | TYPE: |
ttl_func | TYPE: |
end_of_day | TYPE: |
end_of_week | TYPE: |
Source code in authx_extra/cache.py
get async
#
PARAMETER | DESCRIPTION |
---|---|
key | TYPE: |
Source code in authx_extra/cache.py
invalidate async
#
Invalidates the passed key
PARAMETER | DESCRIPTION |
---|---|
key | TYPE: |
Source code in authx_extra/cache.py
invalidate_all async
#
Invalidates a collection of keys
PARAMETER | DESCRIPTION |
---|---|
keys | TYPE: |