def refresh_token(self):
if self.session is None:<EOL><INDENT>self.session = self.get_session()<EOL><DEDENT>token = self.token_backend.token<EOL>if token and token.is_long_lived:<EOL><INDENT>client_id, client_secret = self.auth<EOL>token = Token(self.session.refresh_token(<EOL>self._oauth2_token_url,<EOL>client_id=client_id,<EOL>client_secret=client_secret))<EOL><DEDENT>else:<EOL><INDENT>log.error('<STR_LIT>'<EOL>'<STR_LIT>')<EOL>return False<EOL><DEDENT>self.token_backend.token = token<EOL>if self.store_token:<EOL><INDENT>self.token_backend.save_token()<EOL><DEDENT>return True<EOL>
Refresh the OAuth authorization token.
This will be called automatically when the access token
 expires, however, you can manually call this method to
 request a new refresh token.
:return bool: Success / Failure