Exemple #1
0
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
Exemple #2
0
 def bearer_type(self, token, r):
     r.url = utils.add_params_to_uri(r.url, [((u'oauth_token', token))])
     return r
Exemple #3
0
 def bearer_type(self, token, r):
     r.url = utils.add_params_to_uri(r.url, [((u'oauth_token', token))])
     return r