Links
🛡

Authenticate User

Use this method to authenticate users with Altura Guard.

Usage in your script

JavaScript
TypeScript
const response = await altura.authenticateUser(WALLET_ADDRESS, ALTURA_GUARD);
​
const authenticated = response.authenticated
const response: { authenticated: boolean } = await altura.authenticateUser(WALLET_ADDRESS, ALTURA_GUARD);
​
const authenticated = response.authenticated;

Parameters

Parameter
Type
Required
Description
wallet_address
String
Yes
Unique wallet address of user
altura_guard
String
Yes
Altura Guard code