code: def AuthorizingClient(
      domain,
      auth,
      request_encoder,
      response_decoder,
      user_agent=None
  ):
      
      
      http_transport = transport.HttpTransport(
          api_url(domain),
          build_headers(auth, user_agent)
      )
      
      return client.Client(
          request_encoder,
          http_transport,
          response_decoder
      )
docs: Creates a Freshbooks client for a freshbooks domain, using
      an auth object.