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 a Jwt assertion.
Since:
5.5
See Also:
  • Constructor Details

    • JwtBearerGrantRequest

      public JwtBearerGrantRequest(ClientRegistration clientRegistration, Jwt jwt)
      Constructs a JwtBearerGrantRequest using the provided parameters.
      Parameters:
      clientRegistration - the client registration
      jwt - the JWT assertion
  • Method Details

    • getJwt

      public Jwt getJwt()
      Returns the JWT assertion.
      Returns:
      the Jwt assertion