summaryrefslogtreecommitdiff
path: root/jwt/jwk_set_cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'jwt/jwk_set_cache.py')
-rw-r--r--jwt/jwk_set_cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jwt/jwk_set_cache.py b/jwt/jwk_set_cache.py
index e8c2a7e..1b2465c 100644
--- a/jwt/jwk_set_cache.py
+++ b/jwt/jwk_set_cache.py
@@ -5,11 +5,11 @@ from .api_jwk import PyJWKSet, PyJWTSetWithTimestamp
class JWKSetCache:
- def __init__(self, lifespan: int):
+ def __init__(self, lifespan: int) -> None:
self.jwk_set_with_timestamp: Optional[PyJWTSetWithTimestamp] = None
self.lifespan = lifespan
- def put(self, jwk_set: PyJWKSet):
+ def put(self, jwk_set: PyJWKSet) -> None:
if jwk_set is not None:
self.jwk_set_with_timestamp = PyJWTSetWithTimestamp(jwk_set)
else: