Beispiel #1
0
def logout(**kwargs):
    if not gui.yes_no(_.LOGOUT_YES_NO):
        return

    api.logout()
    mem_cache.empty()
    gui.refresh()
Beispiel #2
0
 def logout(self):
     userdata.delete('access_token')
     userdata.delete('expires')
     userdata.delete('refresh_token')
     userdata.delete('config')
     mem_cache.empty()
     self.new_session()
Beispiel #3
0
 def logout(self):
     userdata.delete('profile_img')
     userdata.delete('profile_name')
     userdata.delete('profile_id')
     userdata.delete('auth_cookies')
     userdata.delete('device_id')
     mem_cache.empty()
     self.new_session(self._config)
Beispiel #4
0
 def logout(self):
     userdata.delete('singtel_tv_no')
     userdata.delete('identification_no')
     userdata.delete('device_id')
     mem_cache.empty()
     self.new_session()
Beispiel #5
0
 def logout(self):
     userdata.delete('token')
     mem_cache.empty()
     self.new_session()
Beispiel #6
0
 def set_profile(self, profile_id):
     self._set_profile(profile_id)
     mem_cache.empty()
Beispiel #7
0
 def logout(self):
     userdata.delete('key')
     userdata.delete('auth_token')
     userdata.delete('expires')
     mem_cache.empty()
     self.new_session()