Optional ReadonlyheightOptional ReadonlypositionOptional ReadonlysignalAn optional AbortSignal the caller can use to cancel an in-progress login, e.g. when the
user dismisses a "signing in…" dialog in the app. Aborting closes the popup and rejects
establishUsingPopup with a TwinfinitySessionError carrying cause: 'cancelled',
which lets callers tell a deliberate cancellation apart from a real failure. A signal that is
already aborted when login starts rejects immediately without opening a popup. Has no effect once
the login has settled.
Optional ReadonlytimeoutOptional upper bound, in milliseconds, on how long the login may take before it rejects with a
TwinfinitySessionError carrying cause: 'timeout'. Defaults to no timeout: the user
drives a popup login and a popup the user closes is already detected (see
POPUP_CLOSED_POLL_INTERVAL_MS). Set this if you want a hard upper bound regardless.
Optional Readonlywidth
Defaults to
'center-window'.