eclipse / microprofile-jwt-auth

Apache License 2.0
106 stars 59 forks source link

Add `getHeaders` method to `JsonWebToken` #327

Open sberyozkin opened 3 months ago

sberyozkin commented 3 months ago

Currently, JsonWebToken lets users check the claims only, but the token headers, which can provide a lot of useful information, such as the algorithms, as well as custom headers, can not be accessed.

It can be fixed easily with adding jakarta.json.JsonObject getHeaders() method