989onan bot (talk | contribs) Automated: update SyncDelegates |
add info |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{UserspaceComponent}} | |||
{{Infobox Component | {{Infobox Component | ||
|Image=TwoFactorCodeDialogComponent.png | |Image=TwoFactorCodeDialogComponent.png | ||
|Name=Two Factor Code Dialog | |Name=Two Factor Code Dialog | ||
}} | }} | ||
The '''TwoFactorCodeDialog''' component is used to accept and process a 2FA code from a user when logging into Resonite. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|_code|'''[[Component:TextField|TextField]]'''|TypeAdv0=true| | |_code|'''[[Component:TextField|TextField]]'''|TypeAdv0=true| The text field used to enter the 2FA code. | ||
}} | }} | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|OnConfirm:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnConfirm:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Handles when the user hits the confirm code button. | ||
}} | }} | ||
== | == Usage == | ||
Not to be used by the user directly. | |||
== Examples == | == Examples == | ||
Used during log in via 2FA when logging into Resonite. | |||
== See Also == | == See Also == | ||
Line 23: | Line 26: | ||
[[Category:Components:Uncategorized{{#translation:}}|Two Factor Code Dialog]] | [[Category:Components:Uncategorized{{#translation:}}|Two Factor Code Dialog]] | ||
[[Category:Components{{#translation:}}|Two Factor Code Dialog]] | [[Category:Components{{#translation:}}|Two Factor Code Dialog]] | ||
Latest revision as of 19:17, 30 April 2025
Component image File:TwoFactorCodeDialogComponent.pngTwo Factor Code Dialog component as seen in the Scene Inspector
The TwoFactorCodeDialog component is used to accept and process a 2FA code from a user when logging into Resonite.
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. |
_code
|
TextField | The text field used to enter the 2FA code. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
OnConfirm:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles when the user hits the confirm code button. |
Usage
Not to be used by the user directly.
Examples
Used during log in via 2FA when logging into Resonite.