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
ConstructorsConstructorDescriptionOAuth2ClientCredentialsGrantRequest(ClientRegistration clientRegistration) Constructs anOAuth2ClientCredentialsGrantRequestusing the provided parameters. -
Method Summary
Methods inherited from class org.springframework.security.oauth2.client.endpoint.AbstractOAuth2AuthorizationGrantRequest
getClientRegistration, getGrantType
-
Constructor Details
-
OAuth2ClientCredentialsGrantRequest
Constructs anOAuth2ClientCredentialsGrantRequestusing the provided parameters.- Parameters:
clientRegistration- the client registration
-