Methods

(static) finishQuickConnect(saveCredentials) → {void}

Phase 2 exit. Conditionally persist credentials, then signal success so showScenes can complete the login flow.

Parameters:
NameTypeDescription
saveCredentialsboolean
Returns:
Type: 
void

(static) init() → {void}

Dialog has two phases: "waiting" - QC code shown, polling server for user approval "prompt" - auth succeeded in-memory; asking whether to persist credentials

Returns:
Type: 
void

(static) onAuthenticated() → {void}

Returns:
Type: 
void

(static) onButtonSelected() → {void}

Returns:
Type: 
void

(static) onKeyEvent(key, press) → {boolean}

Parameters:
NameTypeDescription
keystring
pressboolean
Returns:
Type: 
boolean

(static) persistCurrentUserCredentials() → {void}

Writes authToken / username / primaryImageTag to the current user's registry section. The QuickConnect task called user.Login(user, false) earlier, which left m.global.user hydrated without touching the registry.

Returns:
Type: 
void

(static) quickConnectCancelled() → {void}

User abandoned Quick Connect before server approval. Do NOT signal success - showScenes sees the dialog close and treats it as a cancel.

Returns:
Type: 
void

(static) quickConnectStatus() → {void}

Returns:
Type: 
void

(static) showSaveCredentialsPrompt() → {void}

Mutates the open dialog in place to show a Yes/No prompt. Keeps the same dialog node so there is no visual flicker.

Returns:
Type: 
void