topher96
topher96
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...
https://github.com/mpdavis/python-jose/blob/master/jose/jwt.py#L75 ` issuer (str or iterable) – Acceptable value(s) for the issuer of the token. If the “iss” claim is included in the claim set, then the issuer must be...
I find it surprising that it alphabetizes keys in dicts rather than using the order I use internally. As an example from another oss project - Python has treated dicts...