Class NimbusJwtClientAuthenticationParametersConverter<T extends AbstractOAuth2AuthorizationGrantRequest>

  • Type Parameters:
    T - the type of AbstractOAuth2AuthorizationGrantRequest
    All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<T,​org.springframework.util.MultiValueMap<java.lang.String,​java.lang.String>>

    public final class NimbusJwtClientAuthenticationParametersConverter<T extends AbstractOAuth2AuthorizationGrantRequest>
    extends java.lang.Object
    implements org.springframework.core.convert.converter.Converter<T,​org.springframework.util.MultiValueMap<java.lang.String,​java.lang.String>>
    A Converter that customizes the OAuth 2.0 Access Token Request parameters by adding a signed JSON Web Token (JWS) to be used for client authentication at the Authorization Server's Token Endpoint. The private/secret key used for signing the JWS is supplied by the com.nimbusds.jose.jwk.JWK resolver provided via the constructor.

    NOTE: This implementation uses the Nimbus JOSE + JWT SDK.

    Since:
    5.5
    See Also:
    Converter, JWK, AbstractOAuth2AuthorizationGrantRequestEntityConverter.addParametersConverter(Converter), AbstractOAuth2AuthorizationGrantRequestEntityConverter.addParametersConverter(Converter), 2.2 Using JWTs for Client Authentication, 4.2 Using Assertions for Client Authentication, Nimbus JOSE + JWT SDK