public class VerificationKeyResolverFactory extends Object
| Constructor and Description |
|---|
VerificationKeyResolverFactory() |
| Modifier and Type | Method and Description |
|---|---|
static CloseableVerificationKeyResolver | create(Map<String,?> configs, Map<String,Object> jaasConfig)Create an AccessTokenRetriever from the given SaslConfigs. |
static CloseableVerificationKeyResolver | create(Map<String,?> configs, String saslMechanism, Map<String,Object> jaasConfig) |
public static CloseableVerificationKeyResolver create(Map<String,?> configs, Map<String,Object> jaasConfig)
AccessTokenRetriever from the given SaslConfigs. Note: the returned CloseableVerificationKeyResolver is not initialized here and must be done by the caller. Primarily exposed here for unit testing.configs - SASL configurationnull CloseableVerificationKeyResolver