Class VerificationKeyResolverFactory
java.lang.Object
org.apache.kafka.common.security.oauthbearer.secured.VerificationKeyResolverFactory
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
VerificationKeyResolverFactory
public VerificationKeyResolverFactory()
-
-
Method Details
-
create
public static CloseableVerificationKeyResolver create(Map<String, ?> configs, Map<String, Object> jaasConfig) Create anAccessTokenRetriever
from the givenSaslConfigs
. Note: the returnedCloseableVerificationKeyResolver
is not initialized here and must be done by the caller. Primarily exposed here for unit testing.- Parameters:
configs
- SASL configuration- Returns:
- Non-
null
CloseableVerificationKeyResolver
-
create
-