Class ClusterLinkHttpAccessTokenRetriever
java.lang.Object
org.apache.kafka.common.security.oauthbearer.internals.secured.HttpAccessTokenRetriever
io.confluent.kafka.clients.plugins.auth.oauth.ClusterLinkHttpAccessTokenRetriever
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.kafka.common.security.oauthbearer.internals.secured.AccessTokenRetriever,org.apache.kafka.common.security.oauthbearer.internals.secured.Initable
public class ClusterLinkHttpAccessTokenRetriever
extends org.apache.kafka.common.security.oauthbearer.internals.secured.HttpAccessTokenRetriever
-
Field Summary
Fields inherited from class org.apache.kafka.common.security.oauthbearer.internals.secured.HttpAccessTokenRetriever
AUTHORIZATION_HEADER -
Constructor Summary
ConstructorsConstructorDescriptionClusterLinkHttpAccessTokenRetriever(String clientId, String clientSecret, String scope, SSLSocketFactory sslSocketFactory, String tokenEndpointUrl, long loginRetryBackoffMs, long loginRetryBackoffMaxMs, Integer loginConnectTimeoutMs, Integer loginReadTimeoutMs, boolean urlencodeHeader) -
Method Summary
Methods inherited from class org.apache.kafka.common.security.oauthbearer.internals.secured.HttpAccessTokenRetriever
close, postMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.kafka.common.security.oauthbearer.internals.secured.Initable
init
-
Constructor Details
-
ClusterLinkHttpAccessTokenRetriever
-
-
Method Details
-
retrieve
- Specified by:
retrievein interfaceorg.apache.kafka.common.security.oauthbearer.internals.secured.AccessTokenRetriever- Overrides:
retrievein classorg.apache.kafka.common.security.oauthbearer.internals.secured.HttpAccessTokenRetriever- Throws:
IOException
-