Class OAuth2ClientCredentialsGrantRequest
java.lang.Object
org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
org.springframework.security.oauth2.client.endpoint.OAuth2ClientCredentialsGrantRequest
An OAuth 2.0 Client Credentials Grant request that holds the client's credentials in
AbstractOAuth2AuthorizationGrantRequest.getClientRegistration()
.-
Constructor Summary
ConstructorDescriptionOAuth2ClientCredentialsGrantRequest
(ClientRegistration clientRegistration) Constructs anOAuth2ClientCredentialsGrantRequest
using the provided parameters. -
Method Summary
Methods inherited from class org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
getClientRegistration, getGrantType
-
Constructor Details
-
OAuth2ClientCredentialsGrantRequest
Constructs anOAuth2ClientCredentialsGrantRequest
using the provided parameters.- Parameters:
clientRegistration
- the client registration
-