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.
|_messageText|'''[[Component:Text|Text]]'''|TypeAdv3=true| The text element showing messages to the user.
}}
== Sync Delegates ==
{{Table ComponentTriggers
|OnContinue:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Handles when the user asks to continue.
|CopyCodesToClipboard:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Handles when the user asks to copy TOTP codes to the clipboard.
|OnActivate:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Handles when the user activates the method.
|OnDeactivate:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Handles when the user deactivates the method.
|OnClose:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Handles when the user closes the dialog
}}
== State ==
{{Table EnumValues
|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.
[[Category:Components With Nested Enums{{#translation:}}|TOTP Dialog]]
[[Category:Components With Nested Enums{{#translation:}}|TOTP Dialog]]
[[Category:ComponentStubs]]
Latest revision as of 18:57, 23 January 2026
This is a Userspace Only component — It cannot be attached anywhere but inside the userspace. Changing components in userspace is not recommended and may break functionality of your dashboard. Proceed with caution even if you know what you're doing.
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.