GehirnInc / python-jwt

JSON Web Token library for Python
https://pypi.python.org/pypi/jwt
Apache License 2.0
141 stars 30 forks source link

return header with payload when decoding token #17

Open krisztian-toth opened 5 years ago

krisztian-toth commented 5 years ago

Would be nice if the header would be included in the JWT#decode method. If not, it'd be convenient to have a get_unverified_headers method on the JWT class.

klausmyrseth commented 4 years ago

I vote for the latest so its possible to match keys before verification/decode.