Custom email/password account system built into your game.
Players sign in with an email address and password unique to your game. Includes customizable reset-password and confirm-account pages that match your game's branding. Integrates with Connected Accounts so that guest players can 'upgrade' to a fully registered account at any time, preserving their existing progress.
| static void LootLocker.Requests.LootLockerSDKManager.WhiteLabelGetSignUpFields |
( |
Action< LootLockerWhiteLabelSignUpFieldsResponse > |
onComplete | ) |
|
|
inlinestatic |
Retrieve the list of custom sign-up fields configured for this game.
Use the returned fields to build a sign-up form, then pass the player's answers to WhiteLabelSignUp(string, string, LootLockerWhiteLabelCustomFieldValue[], Action<LootLockerWhiteLabelSignupResponse>). White Label platform must be enabled in the web console for this to work.
- Parameters
-
| onComplete | onComplete Action for handling the response of type LootLockerWhiteLabelSignUpFieldsResponse |
| static void LootLocker.Requests.LootLockerSDKManager.WhiteLabelLoginAndStartSession |
( |
string |
email, |
|
|
string |
password, |
|
|
bool |
rememberMe, |
|
|
Action< LootLockerWhiteLabelLoginAndStartSessionResponse > |
onComplete |
|
) |
| |
|
inlinestatic |
Log in a White Label user with the given email and password combination, verify user, and start a White Label Session.
If that succeeds, then also start a LootLocker Session. The response is nested. The top properties will give the complete success condition and eventual error data. Nested inside the response you can also find the specific responses of the two composite calls using LoginResponse and SessionResponse respectively Set remember=true to prolong the session lifetime White Label platform must be enabled in the web console for this to work.
- Parameters
-
| email | E-mail for an existing user |
| password | Password for an existing user |
| rememberMe | Set remember=true to prolong the session lifetime |
| onComplete | onComplete Action for handling the response |
|
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelLogin (string email, string password, Action< LootLockerWhiteLabelLoginResponse > onComplete) |
| | Log in a White Label user with the given email and password combination, verify user, and start a White Label Session.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelLogin (string email, string password, bool remember, Action< LootLockerWhiteLabelLoginResponse > onComplete) |
| | Log in a White Label user with the given email and password combination, verify user, and start a White Label Session.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelSignUp (string email, string password, Action< LootLockerWhiteLabelSignupResponse > onComplete) |
| | Create new user using the White Label login system.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelSignUp (string email, string password, LootLockerWhiteLabelCustomFieldValue[] customFields, Action< LootLockerWhiteLabelSignupResponse > onComplete) |
| | Create new user using the White Label login system, optionally including answers to custom sign-up fields.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelGetSignUpFields (Action< LootLockerWhiteLabelSignUpFieldsResponse > onComplete) |
| | Retrieve the list of custom sign-up fields configured for this game.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelRequestPassword (string email, Action< LootLockerResponse > onComplete) |
| | Request a password reset email for the given email address.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelRequestVerification (int userID, Action< LootLockerResponse > onComplete) |
| | Request verify account email for the user.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelRequestVerification (string email, Action< LootLockerResponse > onComplete) |
| | Request verify account email for the user.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.CheckWhiteLabelSession (Action< bool > onComplete, string forPlayerWithUlid=null) |
| | Checks for a stored session and if that session is valid.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.CheckWhiteLabelSession (string email, Action< bool > onComplete) |
| | Checks for a stored session and if that session is valid.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.CheckWhiteLabelSession (string email, string token, Action< bool > onComplete) |
| | Checks if the provided session token is valid for the provided White Label email.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.StartWhiteLabelSession (Action< LootLockerSessionResponse > onComplete, string forPlayerWithUlid=null, LootLockerSessionOptionals Optionals=null) |
| | Start a LootLocker Session using the cached White Label token and email if any exist White Label platform must be enabled in the web console for this to work.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.StartWhiteLabelSession (string email, Action< LootLockerSessionResponse > onComplete, LootLockerSessionOptionals Optionals=null) |
| | Start a LootLocker Session using the cached White Label token for the specified email if it exist White Label platform must be enabled in the web console for this to work.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.StartWhiteLabelSession (LootLockerWhiteLabelSessionRequest sessionRequest, Action< LootLockerSessionResponse > onComplete) |
| | Start a LootLocker Session using the provided White Label request.
|
| |
| static void | LootLocker.Requests.LootLockerSDKManager.WhiteLabelLoginAndStartSession (string email, string password, bool rememberMe, Action< LootLockerWhiteLabelLoginAndStartSessionResponse > onComplete) |
| | Log in a White Label user with the given email and password combination, verify user, and start a White Label Session.
|
| |