Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8a4a2c

Browse files
committed
Fix mypy error for AsymmetricSignatureVerifier
1 parent 1976d68 commit b8a4a2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auth0/authentication/token_verifier.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def _fetch_key(self, key_id: str) -> str | RSAPublicKey:
4444
Must be implemented by subclasses.
4545
4646
Args:
47-
key_id (str, optional): The id of the key to fetch.
47+
key_id (str): The id of the key to fetch.
4848
4949
Returns:
5050
the key to use for verifying a cryptographic signature
@@ -250,7 +250,7 @@ def __init__(
250250
super().__init__(algorithm)
251251
self._fetcher = JwksFetcher(jwks_url, cache_ttl)
252252

253-
def _fetch_key(self, key_id: str | None = None) -> RSAPublicKey:
253+
def _fetch_key(self, key_id: str) -> RSAPublicKey:
254254
return self._fetcher.get_key(key_id)
255255

256256

0 commit comments

Comments
 (0)