Module: KustoConstants::Authentication

Defined in:
lib/fluent/plugin/kusto_constants.rb

Overview

Authentication and token management constants

Constant Summary collapse

TOKEN_EXPIRY_BUFFER_SECONDS =

Token expiry buffer time in seconds (5 minutes) Used to refresh tokens before they actually expire to prevent race conditions

300
DEFAULT_TOKEN_EXPIRY_SECONDS =

Default token expiry time in seconds (55 minutes) Used when expires_in is not provided or invalid

3300
DEFAULT_MAX_RETRIES =

Maximum retry attempts for token fetching

3
DEFAULT_BASE_DELAY =

Base delay for exponential backoff in seconds

1
DEFAULT_BACKOFF_MULTIPLIER =

Backoff multiplier for exponential backoff

2
DEFAULT_MAX_DELAY =

Maximum delay between retries in seconds

30
MIN_RETRY_DELAY =

Minimum retry delay in seconds (prevents too-rapid retries)

0.1
HTTP_OPEN_TIMEOUT =

HTTP client timeout settings

10
HTTP_READ_TIMEOUT =
30
HTTP_WRITE_TIMEOUT =
10