diff options
author | José Padilla <jpadilla@webapplicate.com> | 2021-04-28 07:53:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 07:53:34 -0400 |
commit | c7f9ac57021021aecc417ffb580c6799ad1ead84 (patch) | |
tree | 6a733b40b2559912e43f271543fc1b38487e7264 | |
parent | 816cbe59a43c4ab5466e6d4c5fa393223c26953f (diff) | |
download | pyjwt-c7f9ac57021021aecc417ffb580c6799ad1ead84.tar.gz |
Export PyJWK and PyJWKSet (#652)
* Export PyJWK and PyJWKSet. Closes #646
* Update CHANGELOG
-rw-r--r-- | CHANGELOG.rst | 1 | ||||
-rw-r--r-- | jwt/__init__.py | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 624b676..25e8dca 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -28,6 +28,7 @@ Added - Add support for ES256K algorithm `#629 <https://github.com/jpadilla/pyjwt/pull/629>`__ - Add `from_jwk()` to Ed25519Algorithm `#621 <https://github.com/jpadilla/pyjwt/pull/621>`__ - Add `to_jwk()` to Ed25519Algorithm `#643 <https://github.com/jpadilla/pyjwt/pull/643>`__ +- Export `PyJWK` and `PyJWKSet` `#652 <https://github.com/jpadilla/pyjwt/pull/652>`__ `v2.0.1 <https://github.com/jpadilla/pyjwt/compare/2.0.0...2.0.1>`__ -------------------------------------------------------------------- diff --git a/jwt/__init__.py b/jwt/__init__.py index 0d0805a..89023f3 100644 --- a/jwt/__init__.py +++ b/jwt/__init__.py @@ -1,3 +1,4 @@ +from .api_jwk import PyJWK, PyJWKSet from .api_jws import ( PyJWS, get_unverified_header, @@ -43,6 +44,8 @@ __all__ = [ "PyJWS", "PyJWT", "PyJWKClient", + "PyJWK", + "PyJWKSet", "decode", "encode", "get_unverified_header", |