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.org.springframework.security.oauth2.jwt.JwtClaimsSet.BuilderReturns theJwtClaimsSet.Builderto be used to customize claims of the JSON Web Token (JWS).org.springframework.security.oauth2.jwt.JwsHeader.BuilderReturns theJwsHeader.Builderto be used to customize headers of the JSON Web Token (JWS).
-
Method Details
-
getAuthorizationGrantRequest
Returns theauthorization grant request.- Returns:
- the
authorization grant request
-
getHeaders
public org.springframework.security.oauth2.jwt.JwsHeader.Builder getHeaders()Returns theJwsHeader.Builderto be used to customize headers of the JSON Web Token (JWS).- Returns:
- the
JwsHeader.Builderto be used to customize headers of the JSON Web Token (JWS)
-
getClaims
public org.springframework.security.oauth2.jwt.JwtClaimsSet.Builder getClaims()Returns theJwtClaimsSet.Builderto be used to customize claims of the JSON Web Token (JWS).- Returns:
- the
JwtClaimsSet.Builderto be used to customize claims of the JSON Web Token (JWS)
-