use Result;
use ;
use ;
/// Creates an HTTP client configured for OAuth2 token requests.
///
/// Redirects are explicitly disabled, as OAuth2 flows manage redirects
/// at the protocol level rather than the HTTP level. Allowing automatic
/// redirects could silently swallow authorization errors or redirect
/// sensitive credentials to unintended endpoints.
///
/// # Errors
///
/// Returns an error if the HTTP client fails to initialize, which may
/// occur if the underlying TLS backend cannot be loaded.