public class DefaultClientCredentialsClient extends AbstractClientCredentialsClient
ClientCredentialsClient
for OAuth 2.0 clients which configures the token endpoint information directly.oauthClientConfiguration, scopeToPublisherMap, tokenEndpointClient
Constructor and Description |
---|
DefaultClientCredentialsClient(OauthClientConfiguration oauthClientConfiguration,
TokenEndpointClient tokenEndpointClient) |
Modifier and Type | Method and Description |
---|---|
protected ClientCredentialsTokenRequestContext |
createTokenRequestContext(java.lang.String scope) |
expirationDate, getName, isExpired, isExpired, requestToken, requestToken
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requestToken, requestToken
public DefaultClientCredentialsClient(@NonNull OauthClientConfiguration oauthClientConfiguration, @NonNull TokenEndpointClient tokenEndpointClient)
oauthClientConfiguration
- The client configurationtokenEndpointClient
- The token endpoint clientprotected ClientCredentialsTokenRequestContext createTokenRequestContext(@Nullable java.lang.String scope)
createTokenRequestContext
in class AbstractClientCredentialsClient
scope
- The requested scope for the client credentials request