Class NimbusJwtClientAuthenticationParametersConverter.JwtClientAuthenticationContext<T extends AbstractOAuth2AuthorizationGrantRequest>

java.lang.Object
org.springframework.security.oauth2.client.endpoint.NimbusJwtClientAuthenticationParametersConverter.JwtClientAuthenticationContext<T>
Type Parameters:
T - the type of AbstractOAuth2AuthorizationGrantRequest
Enclosing class:
NimbusJwtClientAuthenticationParametersConverter<T extends AbstractOAuth2AuthorizationGrantRequest>

public static final class NimbusJwtClientAuthenticationParametersConverter.JwtClientAuthenticationContext<T extends AbstractOAuth2AuthorizationGrantRequest> extends Object
A context that holds client authentication-specific state and is used by NimbusJwtClientAuthenticationParametersConverter when attempting to customize the JSON Web Token (JWS) client assertion.
Since:
5.7
  • Method Details

    • getAuthorizationGrantRequest

      public T getAuthorizationGrantRequest()
      Returns:
      the authorization grant request
    • getHeaders

      public org.springframework.security.oauth2.jwt.JwsHeader.Builder getHeaders()
      Returns the JwsHeader.Builder to be used to customize headers of the JSON Web Token (JWS).
      Returns:
      the JwsHeader.Builder to be used to customize headers of the JSON Web Token (JWS)
    • getClaims

      public org.springframework.security.oauth2.jwt.JwtClaimsSet.Builder getClaims()
      Returns the JwtClaimsSet.Builder to be used to customize claims of the JSON Web Token (JWS).
      Returns:
      the JwtClaimsSet.Builder to be used to customize claims of the JSON Web Token (JWS)