public class DefaultClientCredentialsOpenIdClient extends AbstractClientCredentialsClient
oauthClientConfiguration, scopeToPublisherMap, tokenEndpointClient
Constructor and Description |
---|
DefaultClientCredentialsOpenIdClient(OauthClientConfiguration oauthClientConfiguration,
TokenEndpointClient tokenEndpointClient,
java.util.function.Supplier<OpenIdProviderMetadata> openIdProviderMetadata) |
Modifier and Type | Method and Description |
---|---|
protected ClientCredentialsTokenRequestContext |
createTokenRequestContext(java.lang.String scope) |
protected SecureEndpoint |
getTokenEndpoint() |
expirationDate, getName, isExpired, isExpired, requestToken, requestToken
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requestToken, requestToken
public DefaultClientCredentialsOpenIdClient(@NonNull OauthClientConfiguration oauthClientConfiguration, @NonNull TokenEndpointClient tokenEndpointClient, java.util.function.Supplier<OpenIdProviderMetadata> openIdProviderMetadata)
oauthClientConfiguration
- The client configurationtokenEndpointClient
- The token endpoint clientopenIdProviderMetadata
- The provider metadataprotected ClientCredentialsTokenRequestContext createTokenRequestContext(java.lang.String scope)
createTokenRequestContext
in class AbstractClientCredentialsClient
scope
- The requested scope for the client credentials requestprotected SecureEndpoint getTokenEndpoint()