

def OAuthClient(domain, consumer_key, consumer_secret, token, token_secret, user_agent=None, request_encoder=default_request_encoder, response_decoder=default_response_decoder):
    "Creates a Freshbooks client for a freshbooks domain, using\n    OAuth. Token management is assumed to have been handled out of band.\n    \n    The optional request_encoder and response_decoder parameters can be\n    passed the logging_request_encoder and logging_response_decoder objects\n    from this module, or custom encoders, to aid debugging or change the\n    behaviour of refreshbooks' request-to-XML-to-response mapping.\n    \n    The optional user_agent keyword parameter can be used to specify the\n    user agent string passed to FreshBooks. If unset, a default user agent\n    string is used.\n    "
    return _create_oauth_client(AuthorizingClient, domain, consumer_key, response_decoder, token, token_secret, user_agent=user_agent, request_encoder=request_encoder, response_decoder=response_decoder)

dataset/ETHPy150Open freshbooks/refreshbooks/refreshbooks/api.py OAuthClient/VarMisuse@41/289 `consumer_secret`->`response_decoder`