🛡️Authenticate User

Use this method to authenticate users with Altura Guard.

Usage in your script

AuthenticateUser
  .Initialize(destroyAtEnd: true)
  .SetParams(
    "0x85d...",
    "1d47s"
  )
  .OnError(error => Debug.Log(error))
  .OnComplete(AlturaGuard => Debug.Log(AlturaGuard.authenticated))
  .Run();

Member Functions

.Initialize()

.SetParameters()

.onError()

Action on Error: returns error information.

.onComplete()

Action on successful: returns Auth_model type.

.Run()

Runs the API call and fills the corresponding model in the component on success.

Last updated