code: def revoke(self):
          
          if not self.refresh_token and not self.access_token:
              raise AttributeError('No access/refresh token are defined.')
  
          if self.refresh_token:
              data = {
                  'token_type_hint': 'refresh_token',
                  'token': self.refresh_token,
              }
          else:
              data = {
                  'token_type_hint': 'access_token',
                  'token': self.access_token,
              }
  
          request_data = self.__prepare_token_request(data, self.oauth_revoke)
  
          self._session.post(**request_data)
          self.access_token = None
          self.refresh_token = None
          self.token_expiry = None
docs: Revoke the current tokens then empty all stored tokens
          This returns nothing since the endpoint return HTTP/200
          whatever the result is...
  
          Currently not working with JWT, left here for compatibility.