Add RedisCacheHandler (#747)

* add RedisCacheHandler

* add the explanation for customized chache handlers

* update the dependency and chengelog
This commit is contained in:
Takehisa Oyama authored and GitHub committed 2021-11-22 19:31:58 +00:00
1 parent 0a9270f385
commit 7d23fc3277
4 files changed
+45 -2

No files matched your search

+5
View File
@@ -231,6 +231,11 @@ The custom cache handler would need to be a class that inherits from the base
cache handler ``CacheHandler``. The default cache handler ``CacheFileHandler`` is a good example.
An instance of that new class can then be passed as a parameter when
creating ``SpotifyOAuth``, ``SpotifyPKCE`` or ``SpotifyImplicitGrant``.
The following handlers are available and defined in the URL above.
- ``CacheFileHandler``
- ``MemoryCacheHandler``
- ``DjangoSessionCacheHandler``
- ``RedisCacheHandler``
Feel free to contribute new cache handlers to the repo.