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 127b135 commit 03dd4ceCopy full SHA for 03dd4ce
jose/jwt.py
@@ -75,7 +75,7 @@ def decode(token, key, algorithms=None, options=None, audience=None,
75
a tuple or list of keys (e.g. ("a1234...", "b3579"),
76
a JSON string, (e.g. '["a1234", "b3579"]'),
77
a dict with the 'keys' key that gives a tuple or list of keys (e.g {'keys': [...]} ) or
78
- a dict or JSON string as defined by RFC 7517 (e.g.
+ a dict or JSON string for a JWK set as defined by RFC 7517 (e.g.
79
{'keys': [{'kty': 'oct', 'k': 'YTEyMzQ'}, {'kty': 'oct', 'k':'YjM1Nzk'}]} or
80
'{"keys": [{"kty":"oct","k":"YTEyMzQ"},{"kty":"oct","k":"YjM1Nzk"}]}'
81
) in which case the keys must be base64 url safe encoded (with optional padding).
0 commit comments