Component image File:TOTP DialogComponent.pngTOTP Dialog component as seen in the Scene Inspector
The TOTP_Dialog component, otherwise known as the temporary one time password Component, is used in the dash space for logging into Resonite via TOTP systems.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
_swapRegion
|
SlideSwapRegion | The region slider for swapping between screens on this UI screen. |
_state
|
TOTP_Dialog.State | The screen this is currently showing. |
_codeField
|
TextField | The text field the accepts codes in the TOTP protocol. |
_messageText
|
Text | The text element showing messages to the user. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
OnContinue:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles when the user asks to continue. |
CopyCodesToClipboard:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles when the user asks to copy TOTP codes to the clipboard. |
OnActivate:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles when the user activates the method. |
OnDeactivate:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles when the user deactivates the method. |
OnClose:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles when the user closes the dialog |
State
Name | Value | Description |
---|---|---|
Initializing
|
0 | Is currently on the initalizing screen. |
SetupAuth
|
1 | Is currently on the setup TOTP screen. |
SaveRecoveryCodes
|
2 | Is currently on the save recovery codes screen. |
Activate
|
3 | Is currently on the activate TOTP screen. |
Deactivate
|
4 | Is currently on the deactivates TOTP screen. |
Message
|
5 | Is currently on the submit TOTP screen. |
Usage
Used in Temporary One Time Password setup.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.