Class AbstractOAuth2AuthorizationGrantRequest

java.lang.Object
org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
Direct Known Subclasses:
JwtBearerGrantRequest, OAuth2AuthorizationCodeGrantRequest, OAuth2ClientCredentialsGrantRequest, OAuth2PasswordGrantRequest, OAuth2RefreshTokenGrantRequest

public abstract class AbstractOAuth2AuthorizationGrantRequest extends Object
Base implementation of an OAuth 2.0 Authorization Grant request that holds an authorization grant credential and is used when initiating a request to the Authorization Server's Token Endpoint.
Since:
5.0
See Also:
  • Constructor Details

    • AbstractOAuth2AuthorizationGrantRequest

      protected AbstractOAuth2AuthorizationGrantRequest(AuthorizationGrantType authorizationGrantType, ClientRegistration clientRegistration)
      Sub-class constructor.
      Parameters:
      authorizationGrantType - the authorization grant type
      clientRegistration - the client registration
      Since:
      5.5
  • Method Details