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.ObjectA context that holds client authentication-specific state and is used byNimbusJwtClientAuthenticationParametersConverterwhen 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 TgetAuthorizationGrantRequest()Returns theauthorization grant request.JwtClaimsSet.BuildergetClaims()Returns theJwtClaimsSet.Builderto be used to customize claims of the JSON Web Token (JWS).JwsHeader.BuildergetHeaders()Returns theJwsHeader.Builderto 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.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 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)
-
-