Class OAuth2ClientCredentialsGrantRequest

java.lang.Object
org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
org.springframework.security.oauth2.client.endpoint.OAuth2ClientCredentialsGrantRequest

public class OAuth2ClientCredentialsGrantRequest extends AbstractOAuth2AuthorizationGrantRequest
An OAuth 2.0 Client Credentials Grant request that holds the client's credentials in AbstractOAuth2AuthorizationGrantRequest.getClientRegistration().
Since:
5.1
See Also:
  • Constructor Details

    • OAuth2ClientCredentialsGrantRequest

      public OAuth2ClientCredentialsGrantRequest(ClientRegistration clientRegistration)
      Constructs an OAuth2ClientCredentialsGrantRequest using the provided parameters.
      Parameters:
      clientRegistration - the client registration