We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dca77aa commit a93aab0Copy full SHA for a93aab0
arangoasync/auth.py
@@ -103,7 +103,7 @@ def needs_refresh(self, leeway: int = 0) -> bool:
103
def _validate(self) -> None:
104
"""Validate the token."""
105
if type(self._token) is not str:
106
- raise TypeError("Token must be str or bytes")
+ raise TypeError("Token must be str")
107
108
jwt_payload = jwt.decode(
109
self._token,
0 commit comments