(self)
return True
Invalidate access tokens with a username and password.

        Returns:
            dict: Empty or error dict
Invalidate access tokens with a username and password.
Invalidate access tokens with a username and password .
def signout(self):
        """
        Invalidate access tokens with a username and password.

        Returns:
            dict: Empty or error dict
        """
        endpoint = '/signout'

        payload = {
            'username': self.username,
            'password': self.password,
        }
        rep = self._ygg_req(endpoint, payload)
        if not rep or 'error' in rep:
            return False
        self.client_token = ''
        self.access_token = ''
        self.available_profiles = []
        self.selected_profile = {}
        return True
def signout ( self ) : endpoint = '/signout' payload = { 'username' : self . username , 'password' : self . password , } rep = self . _ygg_req ( endpoint , payload ) if not rep or 'error' in rep : return False self . client_token = '' self . access_token = '' self . available_profiles = [ ] self . selected_profile = { } return True