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 d68d3c1 commit 91320ccCopy full SHA for 91320cc
src/cryptojwt/key_bundle.py
@@ -407,7 +407,7 @@ def __str__(self):
407
408
def jwks(self, private=False):
409
"""
410
- Create a JWKS
+ Create a JWKS as a JSON document
411
412
:param private: Whether private key information should be included.
413
:return: A JWKS JSON representation of the keys in this bundle
@@ -418,7 +418,7 @@ def jwks(self, private=False):
418
if private:
419
key = k.serialize(private)
420
else:
421
- key = k.to_dict()
+ key = k.serialize()
422
for k, v in key.items():
423
key[k] = as_unicode(v)
424
keys.append(key)
0 commit comments