virto-connect Component
Properties
Property
Type
Description
Required
server
string
Backend URL for registration and login
Yes
provider-url
string
Blockchain node URL (ws:// or wss://)
Yes
Methods
Method
Description
Parameters
initSDK()
Initializes the SDK with configured URLs
None
open()
Opens the authentication dialog
None
close()
Closes the authentication dialog
None
setSessionId(sessionId)
Sets an external session ID
sessionId: string
Events
Event
Description
Detail
register-start
Registration process begins
None
register-success
Registration completed successfully
{ address }
register-error
Error during registration
{ error }
login-start
Login process begins
None
login-success
Login completed successfully
{ username }
login-error
Error during login
{ error }
Last updated