Component:LoginDialog: Difference between revisions

From Resonite Wiki
Automated: update SyncDelegates
add some info
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{UserspaceComponent}}
{{Infobox Component
{{Infobox Component
|Image=LoginDialogComponent.png
|Image=LoginDialogComponent.png
|Name=Login Dialog
|Name=Login Dialog
}}
}}
The '''LoginDialog''' component
{{stub}}
{{stub}}


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|RegisterOnly|Bool|
|RegisterOnly|Bool|
Line 28: Line 30:
== Sync Delegates ==
== Sync Delegates ==
{{Table ComponentTriggers
{{Table ComponentTriggers
|OnPolicesClick:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|OnPolicesClick:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the polices button is touched.
|DoLogin:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|DoLogin:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the login button is touched.
|DoLoginSaml2:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|DoLoginSaml2:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the login via saml2 button is touched.
|DoLoginSaml2:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|true|
|DoLoginSaml2:[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|[[Type:ButtonEventHandler`1|ButtonEventHandler`1]]<[[Type:String|String]]>|true| Called when the login via saml2 button is touched.
|DoRegister:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|DoRegister:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the register button is touched.
|DoRegisterReserved:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|DoRegisterReserved:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the register reserve claim button is touched.
|RequestRecoveryCode:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|RequestRecoveryCode:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the request recovery code button is touched.
|DoResetPassword:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|DoResetPassword:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the reset password button is touched.
|OnCancelRegister:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|OnCancelRegister:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the cancel register button is touched.
|OpenLogin:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|OpenLogin:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the open login button is touched.
|OpenRegister:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|OpenRegister:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the open register button is touched.
|OpenLostPassword:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|OpenLostPassword:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the open lost password button is touched.
|OnOpenMigration:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|OnOpenMigration:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the open migration button is touched.
|OnDeclineMigration:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|OnDeclineMigration:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| Called when the decline migration button is touched.
}}
}}


== Behavior ==
== Usage ==
Not used directly by the user. Used in the dash.


== Examples ==
== Examples ==
used in dash login.


== See Also ==
== See Also ==
Line 52: Line 56:
[[Category:Components:Uncategorized{{#translation:}}|Login Dialog]]
[[Category:Components:Uncategorized{{#translation:}}|Login Dialog]]
[[Category:Components{{#translation:}}|Login Dialog]]
[[Category:Components{{#translation:}}|Login Dialog]]
[[Category:ComponentStubs]]

Latest revision as of 20:21, 7 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.
Component image 
File:LoginDialogComponent.png
Login Dialog component as seen in the Scene Inspector

The LoginDialog component

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Fields

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.
RegisterOnly Bool
_interactionEnabled Bool
_swapRegion SlideSwapRegion
_username TextField
_email TextField
_emailRepeat TextField
_password TextField
_passwordRepeat TextField
_recoveryCode TextField
_birthMonth IntTextEditorParser
_birthDay IntTextEditorParser
_birthYear IntTextEditorParser
_rememberLogin Checkbox
_resetUserId Checkbox
_policies Checkbox
_registerButton Button
_loginEmail String

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
OnPolicesClick:ButtonEventHandler ButtonEventHandler Called when the polices button is touched.
DoLogin:ButtonEventHandler ButtonEventHandler Called when the login button is touched.
DoLoginSaml2:ButtonEventHandler ButtonEventHandler Called when the login via saml2 button is touched.
DoLoginSaml2:ButtonEventHandler`1<String> ButtonEventHandler`1<String> Called when the login via saml2 button is touched.
DoRegister:ButtonEventHandler ButtonEventHandler Called when the register button is touched.
DoRegisterReserved:ButtonEventHandler ButtonEventHandler Called when the register reserve claim button is touched.
RequestRecoveryCode:ButtonEventHandler ButtonEventHandler Called when the request recovery code button is touched.
DoResetPassword:ButtonEventHandler ButtonEventHandler Called when the reset password button is touched.
OnCancelRegister:ButtonEventHandler ButtonEventHandler Called when the cancel register button is touched.
OpenLogin:ButtonEventHandler ButtonEventHandler Called when the open login button is touched.
OpenRegister:ButtonEventHandler ButtonEventHandler Called when the open register button is touched.
OpenLostPassword:ButtonEventHandler ButtonEventHandler Called when the open lost password button is touched.
OnOpenMigration:ButtonEventHandler ButtonEventHandler Called when the open migration button is touched.
OnDeclineMigration:ButtonEventHandler ButtonEventHandler Called when the decline migration button is touched.

Usage

Not used directly by the user. Used in the dash.

Examples

used in dash login.

See Also