Sdk Config
data class SdkConfig(val baseUrl: String = PUBLIC_GATEWAY_URL, val userId: String = "", val tenantId: String = "", val email: String = "", val token: String = "", val timeoutMillis: Int, val mode: String = "gateway", val maxRetries: Int = 1, val apiKeyProvider: ApiKeyProvider? = null)
Immutable client configuration.
Credentials may be supplied by apiKeyProvider so long-lived clients can observe rotation without being rebuilt. Timeouts must be positive and retry counts must not be negative.
Constructors
Properties
Link copied to clipboard
optional rotating credential provider
Link copied to clipboard
Sanitized network diagnostics configuration; disabled by default.
Link copied to clipboard
maximum safe-read retries
Link copied to clipboard
Normalized service base URL.
Link copied to clipboard
Trimmed email address.
Link copied to clipboard
Validated safe-read retry count.
Link copied to clipboard
Normalized connection mode.
Link copied to clipboard
Trimmed tenant identifier.
Link copied to clipboard
Trimmed static credential.
Link copied to clipboard
Trimmed user identifier.
Link copied to clipboard
request timeout in milliseconds