Open
Description
https://github.com/mpdavis/python-jose/blob/master/jose/jwt.py#L70v
def decode(token, key, algorithms=None, options=None, audience=None,
issuer=None, subject=None, access_token=None):
"""Verifies a JWT string's signature and validates reserved claims.
...
key (str): A key to attempt to verify the payload with.
It should mention that this key can be a string containing a JSON Web Key - because the example only shows a static password in that field, so its not obvious that it can do more.
https://github.com/mpdavis/python-jose/blob/master/jose/jwt.py#L110
Also consider showing an example where a JSON web key is used.