White label login works a little differently than other platforms in the sense that we first have to create a white label login session, which is then used to create a game session.
When the player is logged in, the SDK will save the token, so you don't have to send it to
// Remember to use the LootLocker namespace in the top of your file.
// This code should be placed in a handler when user clicks the login button.
string email = "[email protected]";
string password = "password here";
bool rememberMe = true;
LootLockerSDKManager.WhiteLabelLogin(email, password, rememberMe, response =>
Debug.Log("error while logging in");
string token = response.SessionToken;
// Start game session here