_onDrop: function Sync__onDrop() { if (!Service.enabled) { return; } this._logger.debug("Drop"); Auth.logout(); this.cleanClient(); },
_processHTTPError: function Sync_processError(error, status) { if (status === 401) { if (Auth.authorized) { Auth.logout(); Auth.state = LOGIN_STATES.EXPIRED; return false; } } if (error) { return true; } return false; },