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 inAbstractOAuth2AuthorizationGrantRequest.getClientRegistration()
.- Since:
- 5.1
- See Also:
AbstractOAuth2AuthorizationGrantRequest
,ClientRegistration
, Section 1.3.4 Client Credentials Grant
-
-
Constructor Summary
Constructors Constructor Description OAuth2ClientCredentialsGrantRequest(ClientRegistration clientRegistration)
Constructs anOAuth2ClientCredentialsGrantRequest
using the provided parameters.
-
Method Summary
-
Methods inherited from class org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
getClientRegistration, getGrantType
-
-
-
-
Constructor Detail
-
OAuth2ClientCredentialsGrantRequest
public OAuth2ClientCredentialsGrantRequest(ClientRegistration clientRegistration)
Constructs anOAuth2ClientCredentialsGrantRequest
using the provided parameters.- Parameters:
clientRegistration
- the client registration
-
-