LootLockerSDKManager.StartSession. This call only requires you to send a
playerIdentifierwhich can be any string you use to identify your players.
LootLockerSDKManager: Our SDK Manager script. You can view this yourself to see all the functions we support
StartSession: The function in the SDK you need to call
playerIdentifier: The data to send to the SDK to make a session call. This should be unique to the player as it allows for really fast authentication without the need for a username or password. You could generate a Unique ID for your players and save this somewhere on the device or you can decide to use a device identifier and link the player's account to the player's device.
response.successto get the success value from the JSON response from the server.
successboolean used in the snippet above, we also return a host of other data, such as the player’s ID, if they are a new or returning user etc. If you would like to dive deeper into this
SessionResponse, you can find the code for the SDK on GitHub.