mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
Add missing defaults to third-party stubs (#14617)
This commit is contained in:
@@ -11,11 +11,11 @@ class SymmetricSignatureVerifier(SignatureVerifier):
|
||||
|
||||
class JwksFetcher:
|
||||
CACHE_TTL: ClassVar[int]
|
||||
def __init__(self, jwks_url: str, cache_ttl: int = ...) -> None: ...
|
||||
def __init__(self, jwks_url: str, cache_ttl: int = 600) -> None: ...
|
||||
def get_key(self, key_id: str): ...
|
||||
|
||||
class AsymmetricSignatureVerifier(SignatureVerifier):
|
||||
def __init__(self, jwks_url: str, algorithm: str = "RS256", cache_ttl: int = ...) -> None: ...
|
||||
def __init__(self, jwks_url: str, algorithm: str = "RS256", cache_ttl: int = 600) -> None: ...
|
||||
|
||||
class TokenVerifier:
|
||||
iss: str
|
||||
|
||||
Reference in New Issue
Block a user