Introduce Jwt.Builder #6851
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
Milestone
Since there are many aspects to building a
Jwt
, it'd be nice to have a builder to simplify that work:The builder would contain at least four configuration methods:
And would be inlined in
Jwt
, as the code does with other builders likeClientRegistration.Builder
.To assist with type coherence, it could also have helper methods for the claims specified in RFC 7519.
Finally, it would be helpful to prove out the abstraction by updating
NimbusJwtDecoder
andNimbusReactiveJwtDecoder
to use it.The text was updated successfully, but these errors were encountered: