Comment on page
🛡
Authenticate User
AuthenticateUser
.Initialize(destroyAtEnd: true)
.SetParams(
"0x85d...",
"1d47s"
)
.OnError(error => Debug.Log(error))
.OnComplete(AlturaGuard => Debug.Log(AlturaGuard.authenticated))
.Run();
.Initialize()
Parameter | Type | Required | Description |
---|---|---|---|
destroyAtEnd | bool | Optional | defines if this component will be destroyed after .Run() |
.SetParameters()
Parameter | Type | Required | Description |
---|---|---|---|
wallet_address | String | Yes | Unique wallet address of user |
altura_guard | String | Yes | Altura Guard code. |
.onError()
Action on Error: returns error information.
.onComplete()
.Run()
Runs the API call and fills the corresponding model in the component on success.
Last modified 1yr ago