Skip to content

Commit c34b8eb

Browse files
authored
Merge pull request #70 from sukso96100/master
Added more exception information that decode() raises
2 parents 4e5cdbb + 5c9932c commit c34b8eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jose/jwt.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ def decode(token, key, algorithms=None, options=None, audience=None,
102102
103103
Raises:
104104
JWTError: If the signature is invalid in any way.
105+
ExpiredSignatureError: If the signature has expired.
106+
JWTClaimsError: If any claim is invalid in any way.
105107
106108
Examples:
107109

0 commit comments

Comments
 (0)