Skip to content

Commit

Permalink
Add missing exceptions.InvalidKeyError to jwt module __init__ imports. (
Browse files Browse the repository at this point in the history
#620)

* Add missing exceptions.InvalidKeyError to jwt module __init__ imports.

* flake8

* Update CHANGELOG.rst

Co-authored-by: José Padilla <jpadilla@webapplicate.com>
  • Loading branch information
aarcamp and jpadilla committed Mar 18, 2021
1 parent b3a770a commit f6d4bbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Added
~~~~~

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

`v2.0.1 <https://github.com/jpadilla/pyjwt/compare/2.0.0...2.0.1>`__
Expand Down
2 changes: 2 additions & 0 deletions jwt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
InvalidAudienceError,
InvalidIssuedAtError,
InvalidIssuerError,
InvalidKeyError,
InvalidSignatureError,
InvalidTokenError,
MissingRequiredClaimError,
Expand Down Expand Up @@ -55,6 +56,7 @@
"InvalidAudienceError",
"InvalidIssuedAtError",
"InvalidIssuerError",
"InvalidKeyError",
"InvalidSignatureError",
"InvalidTokenError",
"MissingRequiredClaimError",
Expand Down

0 comments on commit f6d4bbf

Please sign in to comment.