![]() |
LootLocker Unity SDK 8.0.0
Game backend SDK for Unity
|
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.
|
inlinestatic |
Clears client session data.
WARNING: This does not end the session in LootLocker servers.
| forPlayerWithUlid | Execute the request for the specified player. |
|
inlinestatic |
End active session (if any exists) Succeeds if a session was ended or no sessions were active.
| onComplete | onComplete Action for handling the response of type LootLockerSessionResponse |
| clearLocalState | If set to true all local data about the player will be removed from the device if the session is successfully ended |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
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.
| onComplete | onComplete Action for handling the response of type for handling the response of type LootLockerAppleGameCenterSessionResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
| Optionals | Optional: Additional session options |
|
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.
| onComplete | onComplete Action for handling the response of type LootLockerAppleSessionResponse |
| Optionals | Optional: Additional session options |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
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.
| refresh_token | Token received in response from StartAppleSession request |
| onComplete | onComplete Action for handling the response of type LootLockerAppleSessionResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
| Optionals | Optional: Additional session options |
|
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.
| onComplete | onComplete Action for handling the response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
| Optionals | Optional : Additional session options |
|
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.
| refresh_token | Token received in response from StartDiscordSession request |
| onComplete | onComplete Action for handling the response of type LootLockerDiscordSessionResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
| Optionals | Optional: Additional session options |
|
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.
| onComplete | onComplete Action for handling the response of type LootLockerEpicSessionResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
| Optionals | Optional: Additional session options |
|
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.
| refresh_token | Token received in response from StartEpicSession request |
| onComplete | onComplete Action for handling the response of type LootLockerEpicSessionResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
| Optionals | Optional: Additional session options |
|
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.
| onComplete | onComplete Action for handling the response |
| Optionals | Optional: Additional session options |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
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.
| refreshToken | The refresh token received from a previous GPGS session. |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response |
|
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.
| onComplete | onComplete Action for handling the response |
| Optionals | Optional: Additional session options |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
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.
| refresh_token | Token received in response from StartGoogleSession request |
| onComplete | onComplete Action for handling the response |
| Optionals | Optional: Additional session options |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
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.
| onComplete | onComplete Action for handling the response of type LootLockerMetaSessionResponse |
| Optionals | Optional: Additional session options |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
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.
| refresh_token | Token received in response from StartMetaSession request |
| onComplete | onComplete Action for handling the response of type LootLockerMetaSessionResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
| Optionals | Optional: Additional session options |
|
inlinestatic |
Start a Amazon Luna session A game can support multiple platforms, but it is recommended that a build only supports one platform.
| amazonLunaGuid | The player's Amazon Luna GUID |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response of type LootLockerSessionResponse |
|
inlinestatic |
Start an Android Network session A game can support multiple platforms, but it is recommended that a build only supports one platform.
| deviceId | The player's Device ID |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response of type LootLockerSessionResponse |
|
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.
| bundleId | The Apple Game Center bundle id of your app |
| playerId | The user's player id in Apple Game Center |
| publicKeyUrl | The url of the public key generated from Apple Game Center Identity Verification |
| signature | The signature generated from Apple Game Center Identity Verification |
| salt | The salt of the signature generated from Apple Game Center Identity Verification |
| timestamp | The timestamp of the verification generated from Apple Game Center Identity Verification |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response of type LootLockerAppleGameCenterSessionResponse |
|
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.
| authorization_code | Authorization code, provided by apple |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response of type LootLockerAppleSessionResponse |
|
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.
| accessToken | The player's Discord OAuth token |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response |
|
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.
| id_token | EOS Id Token as a string |
| onComplete | onComplete Action for handling the response of type LootLockerEpicSessionResponse |
| Optionals | Optional: Additional session options |
|
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.
| authCode | The auth code received from Google Play Games Services authentication. |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response |
|
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.
| idToken | The Id Token from google sign in |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response of type LootLockerSessionResponse |
|
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.
| idToken | The Id Token from google sign in |
| googlePlatform | Google OAuth2 ClientID platform |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response |
|
inlinestatic |
Start a guest session.
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response of type LootLockerGuestSessionResponse |
|
inlinestatic |
Start a guest session with an identifier, you can use something like SystemInfo.deviceUniqueIdentifier to tie the account to a device.
| identifier | Identifier for the player. Set this to empty if you want an identifier to be generated for you. |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response of type LootLockerGuestSessionResponse |
|
inlinestatic |
Start a guest session for an already existing player that has previously had active guest sessions on this device.
| forPlayerWithUlid | Execute the request for the specified player |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response of type LootLockerGuestSessionResponse |
|
inlinestatic |
Start a Meta / Oculus session The Meta / Oculus platform must be enabled and configured in the web console for this to work.
| user_id | User ID as a string |
| nonce | Nonce as a string |
| Optionals | Optional: Additional session options |
| onComplete | Action to handle the response of type LootLockerMetaSessionResponse |
|
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.
| nsa_id_token | nsa (Nintendo Switch Account) id token as a string |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response of type LootLockerSessionResponse |
|
inlinestatic |
Start a Playstation Network session A game can support multiple platforms, but it is recommended that a build only supports one platform.
| psnOnlineId | The player's Online ID |
| onComplete | onComplete Action for handling the response of type LootLockerSessionResponse |
|
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.
| xbox_user_token | Xbox user token as a string |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response of typeLootLockerSessionResponse |
|
inlinestatic |
Verify the player's identity with the server and selected platform.
| deviceId | |
| onComplete | onComplete Action for handling the response of type LootLockerVerifyResponse |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
|
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.
| AuthCode | The authorization code received from PSN after a successful login |
| AccountId | The numeric representation of the account id received from PSN after a successful login |
| PsnIssuerId | Optional: The PSN issuer id to use when verifying the player towards PSN. If not supplied, will be defaulted to 256=production. |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response |
|
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.
| AuthCode | The authorization code received from PSN after a successful login |
| EnvIssuerId | Optional: The PSN Environment issuer id to use when verifying the player towards PSN. If not supplied, will be defaulted to 256=production. |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response |
|
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
| ticket | The Steam session ticket received from Steam Authentication |
| ticketSize | The size of the Steam session ticket received from Steam Authentication |
| Optionals | Optional: Additional session options |
| onComplete | onComplete Action for handling the response of type LootLockerSessionResponse |
|
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
| ticket | The Steam session ticket received from Steam Authentication |
| ticketSize | The size of the Steam session ticket received from Steam Authentication |
| steamAppId | The steam app id to start this steam session for |
| Optionals | Optional: Additional session options |
| onComplete | onComplete 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. | |