Methods

(static) buildConfig() → {void}

Build the username/password config fields + the save-credentials checkbox. Built in onScreenShown (not init) so the prefilled username (from the route context when a user was picked in UserSelect, else the saved username setting) is set BEFORE configItems is assigned (ConfigList snapshots on assignment, so a later value write would not display). Guarded to build once.

Returns:
Type: 
void

(static) init() → {void}

Returns:
Type: 
void

(static) onButtonSelected(event) → {void}

Submit pressed: publish the entered credentials + save flag, emit the intent. The coordinator (loginRouter.onCredentialsSubmitted) runs the blocking getToken.

Parameters:
NameTypeDescription
eventobject
Returns:
Type: 
void

(static) onDestroy() → {void}

onDestroy: Full teardown releasing all resources before component removal Called automatically via JRScreen.beforeViewClose when sgRouter permanently closes this view.

Returns:
Type: 
void

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

Parameters:
NameTypeDescription
keystring
pressboolean
Returns:
Type: 
boolean

(static) onScreenShown() → {void}

JRScreen hook.

Returns:
Type: 
void