public class OAuth2ClientCredentialsGrantRequest extends AbstractOAuth2AuthorizationGrantRequest
getClientRegistration()
.AbstractOAuth2AuthorizationGrantRequest
,
ClientRegistration
,
Section 1.3.4 Client Credentials GrantConstructor and Description |
---|
OAuth2ClientCredentialsGrantRequest(ClientRegistration clientRegistration)
Constructs an
OAuth2ClientCredentialsGrantRequest using the provided parameters. |
Modifier and Type | Method and Description |
---|---|
ClientRegistration |
getClientRegistration()
Returns the
client registration . |
getGrantType
public OAuth2ClientCredentialsGrantRequest(ClientRegistration clientRegistration)
OAuth2ClientCredentialsGrantRequest
using the provided parameters.clientRegistration
- the client registrationpublic ClientRegistration getClientRegistration()
client registration
.ClientRegistration