Skip to content

Commit f6d4bbf

Browse files
aarcampjpadilla
andauthored
Add missing exceptions.InvalidKeyError to jwt module __init__ imports. (jpadilla#620)
* Add missing exceptions.InvalidKeyError to jwt module __init__ imports. * flake8 * Update CHANGELOG.rst Co-authored-by: José Padilla <jpadilla@webapplicate.com>
1 parent b3a770a commit f6d4bbf

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Added
2121
~~~~~
2222

2323
- Add caching by default to PyJWKClient `#611 <https://github.com/jpadilla/pyjwt/pull/611>`__
24+
- Add missing exceptions.InvalidKeyError to jwt module __init__ imports `#620 <https://github.com/jpadilla/pyjwt/pull/620>`__
2425
- Add support for ES256K algorithm `#629 <https://github.com/jpadilla/pyjwt/pull/629>`__
2526

2627
`v2.0.1 <https://github.com/jpadilla/pyjwt/compare/2.0.0...2.0.1>`__

jwt/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
InvalidAudienceError,
1414
InvalidIssuedAtError,
1515
InvalidIssuerError,
16+
InvalidKeyError,
1617
InvalidSignatureError,
1718
InvalidTokenError,
1819
MissingRequiredClaimError,
@@ -55,6 +56,7 @@
5556
"InvalidAudienceError",
5657
"InvalidIssuedAtError",
5758
"InvalidIssuerError",
59+
"InvalidKeyError",
5860
"InvalidSignatureError",
5961
"InvalidTokenError",
6062
"MissingRequiredClaimError",

0 commit comments

Comments
 (0)