'Add a bearer token to the request uri, body or authorization header.'

def _add_bearer_token(self, uri, http_method=u'GET', body=None, headers=None, token_placement=AUTH_HEADER):

    if (token_placement == AUTH_HEADER):
        headers = prepare_bearer_headers(self.token, headers)
    if (token_placement == URI_QUERY):
        uri = prepare_bearer_uri(self.token, uri)
    if (token_placement == BODY):
        body = prepare_bearer_body(self.token, body)
    return (uri, headers, body)
