-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for compressed tokens #347
Comments
Definitely out of scope |
The problem I've run into is that the Header struct doesn't allow access to arbitrary headers (e.g. JWS §4.2, JWE § 4.1) and only allows access to a subset of the defined headers. In this case I'm after the |
We could dump all other fields not part of the spec in a hashmap? I'd take a PR for that if that's not a breaking change. |
Sure, however I think there are only two registered headers not covered by the struct: |
I think we want to add |
Sounds great. |
It would have to come from a PR though, and that's a breaking change |
I'm working on a crate to decode SMART Health Cards. Per their spec, these are their requirements:
Previously I've hacked up a copy of 8-beta2, but before I work on bringing this up to date with the current version of
jsonwebtoken
, is this something you'd entertain a PR for or is it out of scope for the crate?The text was updated successfully, but these errors were encountered: