reset static method
void
reset()
Reset auth manager
Implementation
static void reset() {
try {
final lib = PlatformLoader.loadCommons();
final resetFn = lib.lookupFunction<Void Function(), void Function()>(
'rac_auth_reset',
);
resetFn();
} catch (_) {
_logger.debug('Auth reset bridge unavailable');
}
// Mirror Swift CppBridge.State.shutdown() which resets authStorageInstalled
// so that a subsequent initialize() re-wires the secure-storage vtable.
// Without this, initialize()'s early-return guard fires and token
// persistence silently breaks on logout→login re-init flows.
_isInitialized = false;
}