LootLocker Unity SDK 8.0.0
Game backend SDK for Unity
Loading...
Searching...
No Matches
Authentication

Detailed Description

Start and end player sessions via Guest, Platform, or White Label login.

Three login families are supported:

See also White Label Login and Connected Accounts.

See the LootLocker documentation.

Function Documentation

◆ ClearLocalSession()

static void LootLocker.Requests.LootLockerSDKManager.ClearLocalSession ( string  forPlayerWithUlid)
inlinestatic

Clears client session data.

WARNING: This does not end the session in LootLocker servers.

Parameters
forPlayerWithUlidExecute the request for the specified player.

◆ EndSession()

static void LootLocker.Requests.LootLockerSDKManager.EndSession ( Action< LootLockerSessionResponse >  onComplete,
bool  clearLocalState = false,
string  forPlayerWithUlid = null 
)
inlinestatic

End active session (if any exists) Succeeds if a session was ended or no sessions were active.

Parameters
onCompleteonComplete Action for handling the response of type LootLockerSessionResponse
clearLocalStateIf set to true all local data about the player will be removed from the device if the session is successfully ended
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ RefreshAppleGameCenterSession()

static void LootLocker.Requests.LootLockerSDKManager.RefreshAppleGameCenterSession ( Action< LootLockerAppleGameCenterSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous session signed in with Apple Game Center A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Apple Game Center sign in platform must be enabled in the web console for this to work.

Parameters
onCompleteonComplete Action for handling the response of type for handling the response of type LootLockerAppleGameCenterSessionResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.
OptionalsOptional: Additional session options

◆ RefreshAppleSession() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshAppleSession ( Action< LootLockerAppleSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous session signed in with Apple A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Apple sign in platform must be enabled in the web console for this to work.

Parameters
onCompleteonComplete Action for handling the response of type LootLockerAppleSessionResponse
OptionalsOptional: Additional session options
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ RefreshAppleSession() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshAppleSession ( string  refresh_token,
Action< LootLockerAppleSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous session signed in with Apple If you do not want to manually handle the refresh token we recommend using the RefreshAppleSession(Action<LootLockerAppleSessionResponse> onComplete, string forPlayerWithUlid) method.

A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Apple sign in platform must be enabled in the web console for this to work.

Parameters
refresh_tokenToken received in response from StartAppleSession request
onCompleteonComplete Action for handling the response of type LootLockerAppleSessionResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.
OptionalsOptional: Additional session options

◆ RefreshDiscordSession() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshDiscordSession ( Action< LootLockerDiscordSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous Discord session A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Discord platform must be enabled and configured in the web console for this to work.

Parameters
onCompleteonComplete Action for handling the response
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.
OptionalsOptional : Additional session options

◆ RefreshDiscordSession() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshDiscordSession ( string  refresh_token,
Action< LootLockerDiscordSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous Discord session If you do not want to manually handle the refresh token we recommend using the RefreshDiscordSession(Action<LootLockerDiscordSessionResponse> onComplete, string forPlayerWithUlid) method.

A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Discord platform must be enabled and configured in the web console for this to work.

Parameters
refresh_tokenToken received in response from StartDiscordSession request
onCompleteonComplete Action for handling the response of type LootLockerDiscordSessionResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.
OptionalsOptional: Additional session options

◆ RefreshEpicSession() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshEpicSession ( Action< LootLockerEpicSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous session signed in with Epic A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Epic sign in platform must be enabled in the web console for this to work.

Parameters
onCompleteonComplete Action for handling the response of type LootLockerEpicSessionResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.
OptionalsOptional: Additional session options

◆ RefreshEpicSession() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshEpicSession ( string  refresh_token,
Action< LootLockerEpicSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous session signed in with Epic If you do not want to manually handle the refresh token we recommend using the RefreshEpicSession(Action<LootLockerEpicSessionResponse> onComplete, string forPlayerWithUlid) method.

A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Epic sign in platform must be enabled in the web console for this to work.

Parameters
refresh_tokenToken received in response from StartEpicSession request
onCompleteonComplete Action for handling the response of type LootLockerEpicSessionResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.
OptionalsOptional: Additional session options

◆ RefreshGooglePlayGamesSession() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshGooglePlayGamesSession ( Action< LootLockerGooglePlayGamesSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous session signed in with Google Play Games A response code of 401 (Unauthorized) means the refresh token has expired and you'll need to sign in again The Google Play Games sign in platform must be enabled in the web console for this to work.

Parameters
onCompleteonComplete Action for handling the response
OptionalsOptional: Additional session options
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ RefreshGooglePlayGamesSession() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshGooglePlayGamesSession ( string  refreshToken,
Action< LootLockerGooglePlayGamesSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous session signed in with Google Play Games A response code of 401 (Unauthorized) means the refresh token has expired and you'll need to sign in again The Google Play Games sign in platform must be enabled in the web console for this to work.

Parameters
refreshTokenThe refresh token received from a previous GPGS session.
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response

◆ RefreshGoogleSession() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshGoogleSession ( Action< LootLockerGoogleSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous session signed in with Google.

A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Google sign in platform must be enabled in the web console for this to work.

Parameters
onCompleteonComplete Action for handling the response
OptionalsOptional: Additional session options
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ RefreshGoogleSession() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshGoogleSession ( string  refresh_token,
Action< LootLockerGoogleSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous session signed in with Google.

If you do not want to manually handle the refresh token we recommend using the RefreshGoogleSession(Action<LootLockerGoogleSessionResponse> onComplete, string forPlayerWithUlid) method. A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Google sign in platform must be enabled in the web console for this to work.

Parameters
refresh_tokenToken received in response from StartGoogleSession request
onCompleteonComplete Action for handling the response
OptionalsOptional: Additional session options
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ RefreshMetaSession() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshMetaSession ( Action< LootLockerMetaSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous Meta / Oculus session A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Meta / Oculus platform must be enabled and configured in the web console for this to work.

Parameters
onCompleteonComplete Action for handling the response of type LootLockerMetaSessionResponse
OptionalsOptional: Additional session options
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ RefreshMetaSession() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.RefreshMetaSession ( string  refresh_token,
Action< LootLockerMetaSessionResponse >  onComplete,
string  forPlayerWithUlid = null,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Refresh a previous Meta session If you do not want to manually handle the refresh token we recommend using the RefreshMetaSession(Action<LootLockerMetaSessionResponse> onComplete, string forPlayerWithUlid) method.

A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Meta platform must be enabled and configured in the web console for this to work.

Parameters
refresh_tokenToken received in response from StartMetaSession request
onCompleteonComplete Action for handling the response of type LootLockerMetaSessionResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.
OptionalsOptional: Additional session options

◆ StartAmazonLunaSession()

static void LootLocker.Requests.LootLockerSDKManager.StartAmazonLunaSession ( string  amazonLunaGuid,
Action< LootLockerSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a Amazon Luna session A game can support multiple platforms, but it is recommended that a build only supports one platform.

Parameters
amazonLunaGuidThe player's Amazon Luna GUID
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of type LootLockerSessionResponse

◆ StartAndroidSession()

static void LootLocker.Requests.LootLockerSDKManager.StartAndroidSession ( string  deviceId,
Action< LootLockerSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start an Android Network session A game can support multiple platforms, but it is recommended that a build only supports one platform.

Parameters
deviceIdThe player's Device ID
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of type LootLockerSessionResponse

◆ StartAppleGameCenterSession()

static void LootLocker.Requests.LootLockerSDKManager.StartAppleGameCenterSession ( string  bundleId,
string  playerId,
string  publicKeyUrl,
string  signature,
string  salt,
long  timestamp,
Action< LootLockerAppleGameCenterSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Create a new session for Sign in with Apple Game Center The Apple Game Center sign in platform must be enabled in the web console for this to work.

Parameters
bundleIdThe Apple Game Center bundle id of your app
playerIdThe user's player id in Apple Game Center
publicKeyUrlThe url of the public key generated from Apple Game Center Identity Verification
signatureThe signature generated from Apple Game Center Identity Verification
saltThe salt of the signature generated from Apple Game Center Identity Verification
timestampThe timestamp of the verification generated from Apple Game Center Identity Verification
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of type LootLockerAppleGameCenterSessionResponse

◆ StartAppleSession()

static void LootLocker.Requests.LootLockerSDKManager.StartAppleSession ( string  authorization_code,
Action< LootLockerAppleSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Create a new session for Sign in with Apple The Apple sign in platform must be enabled in the web console for this to work.

Parameters
authorization_codeAuthorization code, provided by apple
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of type LootLockerAppleSessionResponse

◆ StartDiscordSession()

static void LootLocker.Requests.LootLockerSDKManager.StartDiscordSession ( string  accessToken,
Action< LootLockerDiscordSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a Discord session.

The Discord platform must be enabled and configured in the web console for this to work. A game can support multiple platforms, but it is recommended that a build only supports one platform.

Parameters
accessTokenThe player's Discord OAuth token
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response

◆ StartEpicSession()

static void LootLocker.Requests.LootLockerSDKManager.StartEpicSession ( string  id_token,
Action< LootLockerEpicSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Create a new session for an Epic Online Services (EOS) user The Epic Games platform must be enabled in the web console for this to work.

Parameters
id_tokenEOS Id Token as a string
onCompleteonComplete Action for handling the response of type LootLockerEpicSessionResponse
OptionalsOptional: Additional session options

◆ StartGooglePlayGamesSession()

static void LootLocker.Requests.LootLockerSDKManager.StartGooglePlayGamesSession ( string  authCode,
Action< LootLockerGooglePlayGamesSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a Google Play Games Services session.

The Google Play Games sign in platform must be enabled in the web console for this to work.

Parameters
authCodeThe auth code received from Google Play Games Services authentication.
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response

◆ StartGoogleSession() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.StartGoogleSession ( string  idToken,
Action< LootLockerGoogleSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a Game session for a Google User The Google sign in platform must be enabled in the web console for this to work.

Parameters
idTokenThe Id Token from google sign in
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of type LootLockerSessionResponse

◆ StartGoogleSession() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.StartGoogleSession ( string  idToken,
GooglePlatform  googlePlatform,
Action< LootLockerGoogleSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a Game session for a Google User The Google sign in platform must be enabled in the web console for this to work.

Desired Google platform also must be configured under advanced options in the web console.

Parameters
idTokenThe Id Token from google sign in
googlePlatformGoogle OAuth2 ClientID platform
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response

◆ StartGuestSession() [1/2]

static void LootLocker.Requests.LootLockerSDKManager.StartGuestSession ( Action< LootLockerGuestSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a guest session.

Parameters
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of type LootLockerGuestSessionResponse

◆ StartGuestSession() [2/2]

static void LootLocker.Requests.LootLockerSDKManager.StartGuestSession ( string  identifier,
Action< LootLockerGuestSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a guest session with an identifier, you can use something like SystemInfo.deviceUniqueIdentifier to tie the account to a device.

Parameters
identifierIdentifier for the player. Set this to empty if you want an identifier to be generated for you.
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of type LootLockerGuestSessionResponse

◆ StartGuestSessionForPlayer()

static void LootLocker.Requests.LootLockerSDKManager.StartGuestSessionForPlayer ( string  forPlayerWithUlid,
Action< LootLockerGuestSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a guest session for an already existing player that has previously had active guest sessions on this device.

Parameters
forPlayerWithUlidExecute the request for the specified player
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of type LootLockerGuestSessionResponse

◆ StartMetaSession()

static void LootLocker.Requests.LootLockerSDKManager.StartMetaSession ( string  user_id,
string  nonce,
Action< LootLockerMetaSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a Meta / Oculus session The Meta / Oculus platform must be enabled and configured in the web console for this to work.

Parameters
user_idUser ID as a string
nonceNonce as a string
OptionalsOptional: Additional session options
onCompleteAction to handle the response of type LootLockerMetaSessionResponse

◆ StartNintendoSwitchSession()

static void LootLocker.Requests.LootLockerSDKManager.StartNintendoSwitchSession ( string  nsa_id_token,
Action< LootLockerSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Create a new session for a Nintendo Switch user The Nintendo Switch platform must be enabled in the web console for this to work.

Parameters
nsa_id_tokennsa (Nintendo Switch Account) id token as a string
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of type LootLockerSessionResponse

◆ StartPlaystationNetworkSession()

static void LootLocker.Requests.LootLockerSDKManager.StartPlaystationNetworkSession ( string  psnOnlineId,
Action< LootLockerSessionResponse >  onComplete 
)
inlinestatic

Start a Playstation Network session A game can support multiple platforms, but it is recommended that a build only supports one platform.

Parameters
psnOnlineIdThe player's Online ID
onCompleteonComplete Action for handling the response of type LootLockerSessionResponse

◆ StartXboxOneSession()

static void LootLocker.Requests.LootLockerSDKManager.StartXboxOneSession ( string  xbox_user_token,
Action< LootLockerSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Create a new session for a Xbox One user The Xbox One platform must be enabled in the web console for this to work.

Parameters
xbox_user_tokenXbox user token as a string
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of typeLootLockerSessionResponse

◆ VerifyID()

static void LootLocker.Requests.LootLockerSDKManager.VerifyID ( string  deviceId,
Action< LootLockerVerifyResponse >  onComplete,
string  forPlayerWithUlid = null 
)
inlinestatic

Verify the player's identity with the server and selected platform.

Parameters
deviceId
onCompleteonComplete Action for handling the response of type LootLockerVerifyResponse
forPlayerWithUlidOptional : Execute the request for the specified player. If not supplied, the default player will be used.

◆ VerifyPlayerAndStartPlaystationNetworkSession()

static void LootLocker.Requests.LootLockerSDKManager.VerifyPlayerAndStartPlaystationNetworkSession ( string  AuthCode,
long  AccountId,
Action< LootLockerSessionResponse >  onComplete,
int  PsnIssuerId = 256,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a Playstation Network session.

If your token starts with v3, then you should use VerifyPlayerAndStartPlaystationNetworkV3Session instead.

A game can support multiple platforms, but it is recommended that a build only supports one platform.

Parameters
AuthCodeThe authorization code received from PSN after a successful login
AccountIdThe numeric representation of the account id received from PSN after a successful login
PsnIssuerIdOptional: The PSN issuer id to use when verifying the player towards PSN. If not supplied, will be defaulted to 256=production.
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response

◆ VerifyPlayerAndStartPlaystationNetworkV3Session()

static void LootLocker.Requests.LootLockerSDKManager.VerifyPlayerAndStartPlaystationNetworkV3Session ( string  AuthCode,
Action< LootLockerPlaystationV3SessionResponse >  onComplete,
int  EnvIssuerId = 256,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a Playstation Network session using the v3 version of PSN authentication.

If your token starts with v3, then you're using this version.

A game can support multiple platforms, but it is recommended that a build only supports one platform.

Parameters
AuthCodeThe authorization code received from PSN after a successful login
EnvIssuerIdOptional: The PSN Environment issuer id to use when verifying the player towards PSN. If not supplied, will be defaulted to 256=production.
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response

◆ VerifyPlayerAndStartSteamSession()

static void LootLocker.Requests.LootLockerSDKManager.VerifyPlayerAndStartSteamSession ( ref byte[]  ticket,
uint  ticketSize,
Action< LootLockerSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a steam session.

You can read more on how to setup Steam with LootLocker here; https://docs.lootlocker.com/how-to/authentication/steam

Parameters
ticketThe Steam session ticket received from Steam Authentication
ticketSizeThe size of the Steam session ticket received from Steam Authentication
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of type LootLockerSessionResponse

◆ VerifyPlayerAndStartSteamSessionWithSteamAppId()

static void LootLocker.Requests.LootLockerSDKManager.VerifyPlayerAndStartSteamSessionWithSteamAppId ( ref byte[]  ticket,
uint  ticketSize,
string  steamAppId,
Action< LootLockerSessionResponse >  onComplete,
LootLockerSessionOptionals  Optionals = null 
)
inlinestatic

Start a steam session.

You can read more on how to setup Steam with LootLocker here; https://docs.lootlocker.com/how-to/authentication/steam

Parameters
ticketThe Steam session ticket received from Steam Authentication
ticketSizeThe size of the Steam session ticket received from Steam Authentication
steamAppIdThe steam app id to start this steam session for
OptionalsOptional: Additional session options
onCompleteonComplete Action for handling the response of type LootLockerSessionResponse

Functions

static void LootLocker.Requests.LootLockerSDKManager.VerifyID (string deviceId, Action< LootLockerVerifyResponse > onComplete, string forPlayerWithUlid=null)
 Verify the player's identity with the server and selected platform.
 
static void LootLocker.Requests.LootLockerSDKManager.StartPlaystationNetworkSession (string psnOnlineId, Action< LootLockerSessionResponse > onComplete)
 Start a Playstation Network session A game can support multiple platforms, but it is recommended that a build only supports one platform.
 
static void LootLocker.Requests.LootLockerSDKManager.VerifyPlayerAndStartPlaystationNetworkSession (string AuthCode, long AccountId, Action< LootLockerSessionResponse > onComplete, int PsnIssuerId=256, LootLockerSessionOptionals Optionals=null)
 Start a Playstation Network session.
 
static void LootLocker.Requests.LootLockerSDKManager.VerifyPlayerAndStartPlaystationNetworkV3Session (string AuthCode, Action< LootLockerPlaystationV3SessionResponse > onComplete, int EnvIssuerId=256, LootLockerSessionOptionals Optionals=null)
 Start a Playstation Network session using the v3 version of PSN authentication.
 
static void LootLocker.Requests.LootLockerSDKManager.StartAndroidSession (string deviceId, Action< LootLockerSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start an Android Network session A game can support multiple platforms, but it is recommended that a build only supports one platform.
 
static void LootLocker.Requests.LootLockerSDKManager.StartAmazonLunaSession (string amazonLunaGuid, Action< LootLockerSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start a Amazon Luna session A game can support multiple platforms, but it is recommended that a build only supports one platform.
 
static void LootLocker.Requests.LootLockerSDKManager.StartGuestSession (Action< LootLockerGuestSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start a guest session.
 
static void LootLocker.Requests.LootLockerSDKManager.StartGuestSessionForPlayer (string forPlayerWithUlid, Action< LootLockerGuestSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start a guest session for an already existing player that has previously had active guest sessions on this device.
 
static void LootLocker.Requests.LootLockerSDKManager.StartGuestSession (string identifier, Action< LootLockerGuestSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start a guest session with an identifier, you can use something like SystemInfo.deviceUniqueIdentifier to tie the account to a device.
 
static void LootLocker.Requests.LootLockerSDKManager.VerifyPlayerAndStartSteamSession (ref byte[] ticket, uint ticketSize, Action< LootLockerSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start a steam session.
 
static void LootLocker.Requests.LootLockerSDKManager.VerifyPlayerAndStartSteamSessionWithSteamAppId (ref byte[] ticket, uint ticketSize, string steamAppId, Action< LootLockerSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start a steam session.
 
static void LootLocker.Requests.LootLockerSDKManager.StartNintendoSwitchSession (string nsa_id_token, Action< LootLockerSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Create a new session for a Nintendo Switch user The Nintendo Switch platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.StartXboxOneSession (string xbox_user_token, Action< LootLockerSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Create a new session for a Xbox One user The Xbox One platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.StartGoogleSession (string idToken, Action< LootLockerGoogleSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start a Game session for a Google User The Google sign in platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.StartGoogleSession (string idToken, GooglePlatform googlePlatform, Action< LootLockerGoogleSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start a Game session for a Google User The Google sign in platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshGoogleSession (Action< LootLockerGoogleSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous session signed in with Google.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshGoogleSession (string refresh_token, Action< LootLockerGoogleSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous session signed in with Google.
 
static void LootLocker.Requests.LootLockerSDKManager.StartGooglePlayGamesSession (string authCode, Action< LootLockerGooglePlayGamesSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start a Google Play Games Services session.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshGooglePlayGamesSession (string refreshToken, Action< LootLockerGooglePlayGamesSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Refresh a previous session signed in with Google Play Games A response code of 401 (Unauthorized) means the refresh token has expired and you'll need to sign in again The Google Play Games sign in platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshGooglePlayGamesSession (Action< LootLockerGooglePlayGamesSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous session signed in with Google Play Games A response code of 401 (Unauthorized) means the refresh token has expired and you'll need to sign in again The Google Play Games sign in platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.StartAppleSession (string authorization_code, Action< LootLockerAppleSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Create a new session for Sign in with Apple The Apple sign in platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshAppleSession (Action< LootLockerAppleSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous session signed in with Apple A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Apple sign in platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshAppleSession (string refresh_token, Action< LootLockerAppleSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous session signed in with Apple If you do not want to manually handle the refresh token we recommend using the RefreshAppleSession(Action<LootLockerAppleSessionResponse> onComplete, string forPlayerWithUlid) method.
 
static void LootLocker.Requests.LootLockerSDKManager.StartAppleGameCenterSession (string bundleId, string playerId, string publicKeyUrl, string signature, string salt, long timestamp, Action< LootLockerAppleGameCenterSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Create a new session for Sign in with Apple Game Center The Apple Game Center sign in platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshAppleGameCenterSession (Action< LootLockerAppleGameCenterSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous session signed in with Apple Game Center A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Apple Game Center sign in platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.StartEpicSession (string id_token, Action< LootLockerEpicSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Create a new session for an Epic Online Services (EOS) user The Epic Games platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshEpicSession (Action< LootLockerEpicSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous session signed in with Epic A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Epic sign in platform must be enabled in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshEpicSession (string refresh_token, Action< LootLockerEpicSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous session signed in with Epic If you do not want to manually handle the refresh token we recommend using the RefreshEpicSession(Action<LootLockerEpicSessionResponse> onComplete, string forPlayerWithUlid) method.
 
static void LootLocker.Requests.LootLockerSDKManager.StartMetaSession (string user_id, string nonce, Action< LootLockerMetaSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start a Meta / Oculus session The Meta / Oculus platform must be enabled and configured in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshMetaSession (Action< LootLockerMetaSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous Meta / Oculus session A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Meta / Oculus platform must be enabled and configured in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshMetaSession (string refresh_token, Action< LootLockerMetaSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous Meta session If you do not want to manually handle the refresh token we recommend using the RefreshMetaSession(Action<LootLockerMetaSessionResponse> onComplete, string forPlayerWithUlid) method.
 
static void LootLocker.Requests.LootLockerSDKManager.StartDiscordSession (string accessToken, Action< LootLockerDiscordSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null)
 Start a Discord session.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshDiscordSession (Action< LootLockerDiscordSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous Discord session A response code of 400 (Bad request) could mean that the refresh token has expired and you'll need to sign in again The Discord platform must be enabled and configured in the web console for this to work.
 
static void LootLocker.Requests.LootLockerSDKManager.RefreshDiscordSession (string refresh_token, Action< LootLockerDiscordSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null)
 Refresh a previous Discord session If you do not want to manually handle the refresh token we recommend using the RefreshDiscordSession(Action<LootLockerDiscordSessionResponse> onComplete, string forPlayerWithUlid) method.
 
static void LootLocker.Requests.LootLockerSDKManager.EndSession (Action< LootLockerSessionResponse > onComplete, bool clearLocalState=false, string forPlayerWithUlid=null)
 End active session (if any exists) Succeeds if a session was ended or no sessions were active.
 
static void LootLocker.Requests.LootLockerSDKManager.ClearLocalSession (string forPlayerWithUlid)
 Clears client session data.