We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbbee89 commit 1a0d176Copy full SHA for 1a0d176
doc/jws.rst
@@ -80,5 +80,13 @@ Or
80
81
In which case the check of the signing algorithm is done by default.
82
83
+If you have Key Jar instead of a simple set of keys you can do (not showing how the key jar was initiated here)::
84
+
85
+ >>> _verifier = factory(_jws, alg=RS256")
86
+ >>> keys = key_jar.get_jwt_verify_keys(_verifier.jwt)
87
+ >>> msg = _verifier.verify_compact(token, keys)
88
89
+This is a trick that is used in :py:class:`cryptojwt.jwt.JWT`
90
91
92
.. _RFC7515: https://tools.ietf.org/html/rfc7515
0 commit comments