Class NimbusJwtClientAuthenticationParametersConverter.JwtClientAuthenticationContext<T extends AbstractOAuth2AuthorizationGrantRequest>
java.lang.Object
org.springframework.security.oauth2.client.endpoint.NimbusJwtClientAuthenticationParametersConverter.JwtClientAuthenticationContext<T>
- Type Parameters:
T
- the type ofAbstractOAuth2AuthorizationGrantRequest
- 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 Summary
Modifier and TypeMethodDescriptionReturns theauthorization grant request
.Returns theJwtClaimsSet.Builder
to be used to customize claims of the JSON Web Token (JWS).Returns theJwsHeader.Builder
to be used to customize headers of the JSON Web Token (JWS).
-
Method Details
-
getAuthorizationGrantRequest
Returns theauthorization grant request
.- Returns:
- the
authorization grant request
-
getHeaders
Returns theJwsHeader.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
Returns theJwtClaimsSet.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)
-