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
    )
Creates a Freshbooks client for a freshbooks domain, using
dataset/ETHPy150Open freshbooks/refreshbooks/refreshbooks/api.py/AuthorizingClient