code: def clear_authentication(self):
          
          self._authentication = None
          self.access_token = None
          self.refresh_token = None
          self.http.cookies.clear()
          self.user = None
docs: Clear any existing authentication on the reddit object.
  
          This function is implicitly called on `login` and
          `set_access_credentials`.