Class AccessTokenRetrieverFactory
java.lang.Object
org.apache.kafka.common.security.oauthbearer.secured.AccessTokenRetrieverFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessTokenRetrieverstatic AccessTokenRetrieverCreate anAccessTokenRetrieverfrom the given SASL and JAAS configuration.
-
Constructor Details
-
AccessTokenRetrieverFactory
public AccessTokenRetrieverFactory()
-
-
Method Details
-
create
Create anAccessTokenRetrieverfrom the given SASL and JAAS configuration. Note: the returnedAccessTokenRetrieveris not initialized here and must be done by the caller prior to use.- Parameters:
configs- SASL configurationjaasConfig- JAAS configuration- Returns:
- Non-
nullAccessTokenRetriever
-
create
-