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 19:51, 30 April 2025
This is a userspace component — you cannot attach it anywhere but the userspace. Messing with the userspace can be fun, but it is not recommended as you risk messing your dash up if you don't 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.