Methods
(static) buildConfig() → {void}
Build the username/password config fields + the save-credentials checkbox (was CreateSigninGroup 507-535). Built in onScreenShown (not init) so the prefilled username — resolved from the route context (a user picked in UserSelect) or 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:
| Name | Type | Description |
|---|---|---|
event | object |
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:
| Name | Type | Description |
|---|---|---|
key | string | |
press | boolean |
Returns:
- Type:
- boolean
(static) onScreenShown() → {void}
JRScreen hook.
Returns:
- Type:
- void