Need Ability to Extend `Header` class
mdemille opened this issue · 2 comments
mdemille commented
I am using this library in support of the STIR/SHAKEN protocol in telecom. The RFC specifies that the Header
of a JWT must have its keys in lexicographical order.
The JWTEncoder
class manually builds a header object and then allows a Consumer<Header>
to customize it. I would like to be able to subclass the Header
class so that I have tighter/easier control over the fields in that class, and still have it used by the encoder.
robotdan commented
Released. Available in 5.3.0
.
mdemille commented
Thank you!