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 java.lang.Object
A context that holds client authentication-specific state and is used byNimbusJwtClientAuthenticationParametersConverter
when attempting to customize the JSON Web Token (JWS) client assertion.- Since:
- 5.7
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getAuthorizationGrantRequest()
Returns theauthorization grant request
.JwtClaimsSet.Builder
getClaims()
Returns theJwtClaimsSet.Builder
to be used to customize claims of the JSON Web Token (JWS).JwsHeader.Builder
getHeaders()
Returns theJwsHeader.Builder
to be used to customize headers of the JSON Web Token (JWS).
-
-
-
Method Detail
-
getAuthorizationGrantRequest
public T getAuthorizationGrantRequest()
Returns theauthorization grant request
.- Returns:
- the
authorization grant request
-
getHeaders
public JwsHeader.Builder 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
public JwtClaimsSet.Builder 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)
-
-