diff options
author | Russell Cardullo <russellcardullo@gmail.com> | 2020-06-24 19:09:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 08:09:49 +0600 |
commit | 617831697f87207533cca2d85f9924855a875a6e (patch) | |
tree | 04073b902616b6b6230fe57928f091139dbeccda | |
parent | dc8dc7d05d54bd5502295601c01b557caab92a76 (diff) | |
download | pyjwt-617831697f87207533cca2d85f9924855a875a6e.tar.gz |
Expose InvalidKeyError on jwt module (#503)
This allows one import that similar to other exceptions:
```
from jwt import InvalidKeyError
```
-rw-r--r-- | jwt/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jwt/__init__.py b/jwt/__init__.py index afe6b10..40bfdb0 100644 --- a/jwt/__init__.py +++ b/jwt/__init__.py @@ -35,6 +35,7 @@ from .exceptions import ( InvalidIssuedAtError, InvalidIssuer, InvalidIssuerError, + InvalidKeyError, InvalidSignatureError, InvalidTokenError, MissingRequiredClaimError, |