Handle Returning Users
// Remember to use the LootLocker namespace in the top of your file.
using LootLocker.Requests;
LootLockerSDKManager.CheckWhiteLabelSession(response =>
{
if (response)
{
// Start a new session
Debug.Log("session is valid, you can start a game session");
}
else
{
// Show login form here
Debug.Log("session is NOT valid, we should show the login form");
}
});curl -X POST "https://api.lootlocker.io/white-label-login/verify-session" \
-H "domain-key: 11aaa11" \
-H "is-development: true" \
-H "Content-Type: application/json" \
-d "{\"token\": \"afccd38d-09d5-48aa-8235-b9c4c9151596\", \"email\": \"[email protected]\"}"{
"game_id": 2,
"user_id": 406,
"email": "[email protected]"
}Request Password Reset
Last updated
Was this helpful?
