Class OAuthCredentialsProviderBuilder

java.lang.Object
io.camunda.client.impl.oauth.OAuthCredentialsProviderBuilder

public final class OAuthCredentialsProviderBuilder extends Object
  • Field Details

    • INVALID_ARGUMENT_MSG

      public static final String INVALID_ARGUMENT_MSG
      See Also:
    • DEFAULT_CONNECT_TIMEOUT

      public static final Duration DEFAULT_CONNECT_TIMEOUT
    • DEFAULT_READ_TIMEOUT

      public static final Duration DEFAULT_READ_TIMEOUT
    • DEFAULT_PROACTIVE_TOKEN_REFRESH_THRESHOLD

      public static final Duration DEFAULT_PROACTIVE_TOKEN_REFRESH_THRESHOLD
    • DEFAULT_CREDENTIALS_CACHE_PATH

      public static final String DEFAULT_CREDENTIALS_CACHE_PATH
      Historical default path for the persistent credentials cache file. This path is not applied automatically; file-based caching is opt-in and activates only when credentialsCachePath(String) is set to a non-empty value (directly, via Spring property, or via CAMUNDA_CLIENT_CONFIG_PATH). Callers wanting to reproduce the pre-8.10 default behavior can reference this constant explicitly.
    • DEFAULT_AUTHZ_SERVER

      public static final String DEFAULT_AUTHZ_SERVER
      See Also:
    • DEFAULT_TOKEN_FETCH_MAX_RETRIES

      public static final int DEFAULT_TOKEN_FETCH_MAX_RETRIES
      See Also:
    • DEFAULT_TOKEN_FETCH_INITIAL_BACKOFF

      public static final Duration DEFAULT_TOKEN_FETCH_INITIAL_BACKOFF
    • DEFAULT_TOKEN_FETCH_BACKOFF_MULTIPLIER

      public static final double DEFAULT_TOKEN_FETCH_BACKOFF_MULTIPLIER
      See Also:
    • DEFAULT_TOKEN_FETCH_NON_RETRYABLE_COOLDOWN

      public static final Duration DEFAULT_TOKEN_FETCH_NON_RETRYABLE_COOLDOWN
    • DEFAULT_TOKEN_FETCH_RETRYABLE_STATUS_CODES

      public static final Set<Integer> DEFAULT_TOKEN_FETCH_RETRYABLE_STATUS_CODES
      HTTP status codes from the token endpoint that should trigger a retry with backoff. Any other non-200 status code is treated as a non-retryable failure and trips the latch. IOException (network/timeout) is always retried independently of this set.
  • Constructor Details

    • OAuthCredentialsProviderBuilder

      public OAuthCredentialsProviderBuilder()
  • Method Details