revokeAuth method
void
revokeAuth()
Revokes the client's auth: the connection drops and the client listens again after reconnecting.
Implementation
void revokeAuth() {
final _FakeConnection connection = _conn;
connection._forceToken = true;
connection._delegate.onAuthStatus(
'expired_token',
explanation: 'Auth token is expired.',
);
connection._drop(reconnect: true);
}