Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update jwt.py
  • Loading branch information
erny authored Nov 28, 2020
commit 03dd4ced449c14531de89c468258b38109a13410
2 changes: 1 addition & 1 deletion jose/jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def decode(token, key, algorithms=None, options=None, audience=None,
a tuple or list of keys (e.g. ("a1234...", "b3579"),
Copy link

Copilot AI May 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tuple example appears to be missing a closing parenthesis. Consider ensuring that all examples have matching opening and closing parentheses for clarity.

Copilot uses AI. Check for mistakes.
a JSON string, (e.g. '["a1234", "b3579"]'),
a dict with the 'keys' key that gives a tuple or list of keys (e.g {'keys': [...]} ) or
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.
{'keys': [{'kty': 'oct', 'k': 'YTEyMzQ'}, {'kty': 'oct', 'k':'YjM1Nzk'}]} or
'{"keys": [{"kty":"oct","k":"YTEyMzQ"},{"kty":"oct","k":"YjM1Nzk"}]}'
) in which case the keys must be base64 url safe encoded (with optional padding).
Expand Down