def refresh_token(self, refresh_token=None):
     if refresh_token is not None:
         self.access_token.refresh_token = refresh_token
     access_token = AccessToken(
         self.oauth_client,
         token='',
         refresh_token=self.access_token.refresh_token)
     self.access_token = access_token.refresh()
Exemplo n.º 2
0
 def refresh_token(self, refresh_token):
     access_token = AccessToken(self.client,
                                token='',
                                refresh_token=refresh_token)
     self.access_token = access_token.refresh()
Exemplo n.º 3
0
 def refresh_token(self, refresh_token):
     access_token = AccessToken(self.client, token='', refresh_token=refresh_token)
     self.access_token = access_token.refresh()
Exemplo n.º 4
0
 def refresh_token(self, refresh_token):
     #pdb.set_trace()
     access_token = AccessToken(self.client,
                                token='',
                                refresh_token=refresh_token)
     self.access_token = access_token.refresh()
Exemplo n.º 5
0
 def refresh_token(self, refresh_token):
     #pdb.set_trace()
     access_token = AccessToken(self.client, token='', refresh_token=refresh_token)
     self.access_token = access_token.refresh()
Exemplo n.º 6
0
 def refresh_token(self, refresh_token):
     access_token = AccessToken(self.client, token='', refresh_token=refresh_token, header_format="Oauth2 %s")
     self.access_token = access_token.refresh()