Class JwtBearerGrantRequest
- java.lang.Object
-
- org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
-
- org.springframework.security.oauth2.client.endpoint.JwtBearerGrantRequest
-
public class JwtBearerGrantRequest extends AbstractOAuth2AuthorizationGrantRequest
A JWT Bearer Grant request that holds aJwt
assertion.- Since:
- 5.5
- See Also:
AbstractOAuth2AuthorizationGrantRequest
,ClientRegistration
,Jwt
, Section 2.1 Using JWTs as Authorization Grants
-
-
Constructor Summary
Constructors Constructor Description JwtBearerGrantRequest(ClientRegistration clientRegistration, Jwt jwt)
Constructs aJwtBearerGrantRequest
using the provided parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Jwt
getJwt()
Returns theJWT
assertion.-
Methods inherited from class org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
getClientRegistration, getGrantType
-
-
-
-
Constructor Detail
-
JwtBearerGrantRequest
public JwtBearerGrantRequest(ClientRegistration clientRegistration, Jwt jwt)
Constructs aJwtBearerGrantRequest
using the provided parameters.- Parameters:
clientRegistration
- the client registrationjwt
- the JWT assertion
-
-