def token_uri(service, token, r): params = [((u'access_token', token)), ((u'api_key', service.client_id))] r.url = utils.add_params_to_uri(r.url, params) return r
def bearer_type(self, token, r): r.url = utils.add_params_to_uri(r.url, [((u'oauth_token', token))]) return r