code: def create_http_client_with_auth(
      credentials: Credentials,
      ssl_verify: bool,
      proxies: Dict[str, str],
  ) -> Tuple[RequestsClient, ClientConfig]:
      client_config = get_client_config(
          credentials=credentials,
          ssl_verify=ssl_verify,
          proxies=proxies,
      )
  
      config_api_url = (
          credentials.api_url_opt or credentials.token_origin_address
      )
  
      verify_client_version(client_config, neptune_client_version)
  
      endpoint_url = None
      if config_api_url != client_config.api_url:
          endpoint_url = build_operation_url(
              client_config.api_url, BACKEND_SWAGGER_PATH
          )
  
      http_client = create_http_client(
          ssl_verify=ssl_verify, proxies=proxies
      )
      http_client.authenticator = NeptuneAuthenticator(
          credentials.api_token,
          _get_token_client(
              credentials=credentials,
              ssl_verify=ssl_verify,
              proxies=proxies,
              endpoint_url=endpoint_url,
          ),
          ssl_verify,
          proxies,
      )
  
      return http_client, client_config
  
imports: import os
  import platform
  from typing import Dict, Tuple
  import requests
  from bravado.http_client import HttpClient
  from bravado.requests_client import RequestsClient
  from neptune.common.backends.utils import with_api_exceptions_handler
  from neptune.common.oauth import NeptuneAuthenticator
  from neptune.envs import NEPTUNE_REQUEST_TIMEOUT
  from neptune.exceptions import NeptuneClientUpgradeRequiredError
  from neptune.internal.backends.api_model import ClientConfig
  from neptune.internal.backends.swagger_client_wrapper import SwaggerClientWrapper
  from neptune.internal.backends.utils import NeptuneResponseAdapter, build_operation_url, cache, create_swagger_client, update_session_proxies, verify_client_version, verify_host_resolution
  from neptune.internal.credentials import Credentials
  from neptune.version import version
label_desc: Use image node_id 6 for calling a global function with example usage: create_http_client_with_auth(credentials, ssl_verify, proxies) and returns: http_client,  client_config