disconnectTester static method
Clears the connected tester identity and stored auth.
Implementation
static Future<void> disconnectTester() async {
await _testerIdentityStore?.clearIdentity();
await _storage?.clearAuth();
_testerIdentity = null;
_testerId = null;
_accessToken = null;
_ingestUrl = null;
_authState = AuthState.disconnected;
_isEnabled = false;
if (_config != null && _hasPublicKey) {
final ok = await _bootstrap();
_isEnabled = ok;
}
}