Uses of Class
io.camunda.client.impl.CamundaClientCredentials
Packages that use CamundaClientCredentials
-
Uses of CamundaClientCredentials in io.camunda.client.impl.oauth
Methods in io.camunda.client.impl.oauth that return CamundaClientCredentialsModifier and TypeMethodDescriptionOAuthCredentialsCache.computeIfMissingOrInvalid(String clientId, SupplierWithIO<CamundaClientCredentials> zeebeClientCredentialsConsumer) OAuthCredentialsCache.computeIfMissingOrInvalid(String clientId, SupplierWithIO<CamundaClientCredentials> zeebeClientCredentialsConsumer, Runnable proactiveRefreshCallback, Duration proactiveTokenRefreshThreshold) Returns a valid cached token, or fetches a new one if missing/invalid.Methods in io.camunda.client.impl.oauth that return types with arguments of type CamundaClientCredentialsModifier and TypeMethodDescriptionMethods in io.camunda.client.impl.oauth with parameters of type CamundaClientCredentialsModifier and TypeMethodDescriptionOAuthCredentialsCache.put(String clientId, CamundaClientCredentials credentials) voidOAuthCredentialsCache.putAndWrite(String clientId, CamundaClientCredentials credentials) Atomically puts credentials into the cache and writes to disk.Method parameters in io.camunda.client.impl.oauth with type arguments of type CamundaClientCredentialsModifier and TypeMethodDescriptionOAuthCredentialsCache.computeIfMissingOrInvalid(String clientId, SupplierWithIO<CamundaClientCredentials> zeebeClientCredentialsConsumer) OAuthCredentialsCache.computeIfMissingOrInvalid(String clientId, SupplierWithIO<CamundaClientCredentials> zeebeClientCredentialsConsumer, Runnable proactiveRefreshCallback, Duration proactiveTokenRefreshThreshold) Returns a valid cached token, or fetches a new one if missing/invalid.booleanOAuthCredentialsCache.forceRefreshIfChanged(String clientId, SupplierWithIO<CamundaClientCredentials> credentialsSupplier) Ensures that a fresh token is available in the cache, and returnstrueif the caller should retry its request (i.e. credentials were refreshed — either by this thread or by a concurrent one that completed while this thread was waiting for the lock).<T> Optional<T> OAuthCredentialsCache.withCache(String clientId, FunctionWithIO<CamundaClientCredentials, T> function)