Закрыли часть проблем с безопасностью + мелкие починки
This commit is contained in:
@@ -31,6 +31,10 @@ class JWKSValidator:
|
||||
self._loaded_at = 0.0
|
||||
self._lock = asyncio.Lock()
|
||||
|
||||
@property
|
||||
def has_keys(self) -> bool:
|
||||
return bool(self._keys)
|
||||
|
||||
async def refresh(self) -> None:
|
||||
async with self._lock:
|
||||
discovery_url = (
|
||||
|
||||
Reference in New Issue
Block a user