Handles a forced session disconnect by redirecting web users or showing a local alert fallback.
Redirect and alert handlers for the disconnect flow.
Resolves after the redirect or alert side effect is applied.
await disconnect({ onWeb: true, redirectURL: 'https://example.com/exit',}); Copy
await disconnect({ onWeb: true, redirectURL: 'https://example.com/exit',});
Handles a forced session disconnect by redirecting web users or showing a local alert fallback.