LootLocker Unreal SDK 10.4.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerAuthenticationRequestHandler.h
Go to the documentation of this file.
1// Copyright (c) 2021 LootLocker
2
3#pragma once
4
5
6#include "CoreMinimal.h"
10#include "LootLockerAuthenticationRequestHandler.generated.h"
11
14UENUM(BlueprintType, Category = "LootLocker")
19{
20 Web = 0 UMETA(DisplayName = "Web"),
21 Android = 1 UMETA(DisplayName = "Android"),
22 Ios = 2 UMETA(DisplayName = "iOS"),
23 Desktop = 3 UMETA(DisplayName = "Desktop")
24};
26
27USTRUCT()
29{
30 GENERATED_BODY()
34 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
35 FString session_token = "";
36};
37
38USTRUCT(BlueprintType)
40{
41 GENERATED_BODY()
42 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login")
43 FString email = "";
44 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login")
45 FString password = "";
46};
47
48USTRUCT(BlueprintType)
50{
51 GENERATED_BODY()
52 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login")
53 bool remember = false;
54};
55
56// Used for WhiteLabel Login
57USTRUCT(BlueprintType)
59{
60 GENERATED_BODY()
61 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login Response")
62 int32 id = 0;
63 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login Response")
64 FString player_name = "";
65 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login Response")
66 int32 game_id = 0;
67 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login Response")
68 FString email = "";
69 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login Response")
70 FString created_at = "";
71 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login Response")
72 FString last_seen = "";
73 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login Response")
74 FString updated_at = "";
75 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login Response")
76 FString deleted_at = "";
77 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker Login Response")
78 FString validated_at = "";
79};
80
81USTRUCT(BlueprintType)
83{
84 GENERATED_BODY()
85 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Startup Item")
86 FString game_api_key = "";
87 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Startup Item")
88 FString game_version = "";
89};
90
91USTRUCT(BlueprintType)
93{
94 GENERATED_BODY()
95 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Startup Item")
96 FString platform = "";
97 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Startup Item")
98 FString player_identifier = "";
99};
100
101USTRUCT(BlueprintType)
103{
104 GENERATED_BODY()
105 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
106 FString email = "";
107 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
108 FString token = "";
109};
110
111USTRUCT(BlueprintType)
113{
114 GENERATED_BODY()
115 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
116 FString email = "";
117 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
118 FString token = "";
119};
120
121USTRUCT(BlueprintType)
123{
124 GENERATED_BODY()
125 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
126 FString email = "";
127};
128
129USTRUCT(BlueprintType)
131{
132 GENERATED_BODY()
133 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
134 FString nsa_id_token = "";
135};
136
137USTRUCT(BlueprintType)
139{
140 GENERATED_BODY()
141 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
142 FString user_id = "";
143 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
144 FString nonce = "";
145};
146
147USTRUCT(BlueprintType)
149{
150 GENERATED_BODY()
151 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
152 FString refresh_token = "";
153};
154
155USTRUCT(BlueprintType)
157{
158 GENERATED_BODY()
159 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
160 FString xbox_user_token = "";
161};
162
163USTRUCT(BlueprintType)
165{
166 GENERATED_BODY()
167 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
168 FString bundle_id = "";
169 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
170 FString player_id = "";
171 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
172 FString public_key_url = "";
173 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
174 FString signature = "";
175 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
176 FString salt = "";
177 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
178 FString timestamp = "";
179
180};
181
182USTRUCT(BlueprintType)
184{
185 GENERATED_BODY()
186 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
187 FString refresh_token = "";
188};
189
190
191USTRUCT(BlueprintType)
193{
194 GENERATED_BODY()
195 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
196 FString apple_authorization_code = "";
197};
198
199USTRUCT(BlueprintType)
201{
202 GENERATED_BODY()
203 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
204 FString refresh_token = "";
205};
206
207USTRUCT(BlueprintType)
209{
210 GENERATED_BODY()
211 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
212 FString id_token = "";
213};
214
215USTRUCT(BlueprintType)
217{
218 GENERATED_BODY()
219 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
221};
222
223USTRUCT(BlueprintType)
225{
226 GENERATED_BODY()
227 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
228 FString refresh_token = "";
229};
230
231USTRUCT(BlueprintType)
233{
234 GENERATED_BODY()
235 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
236 FString auth_code = "";
237};
238
239USTRUCT(BlueprintType)
241{
242 GENERATED_BODY()
243 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
244 FString refresh_token = "";
245};
246
247USTRUCT(BlueprintType)
249{
250 GENERATED_BODY()
251 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
252 FString id_token = "";
253};
254
255USTRUCT(BlueprintType)
257{
258 GENERATED_BODY()
259 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
260 FString refresh_token = "";
261};
262
263USTRUCT(BlueprintType)
265{
266 GENERATED_BODY()
267 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
268 FString key = "";
269 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
270 FString platform = "";
271 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
272 FString token = "";
273};
274
275USTRUCT(BlueprintType)
277{
278 GENERATED_BODY()
279 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
280 FString Key;
281 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
282 FString Platform = "psn";
283 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
284 FString Token;
285 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
286 int Psn_issuer_id = 256; // Default to production
287};
288
289USTRUCT(BlueprintType)
291{
292 GENERATED_BODY()
293 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
294 FString Game_api_key;
295 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
296 FString Game_version;
297 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
298 FString Auth_code;
299 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
300 int Env_iss_id = 256; // Default to production
301};
302
303USTRUCT(BlueprintType)
305{
306 GENERATED_BODY()
307 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
308 FString steam_ticket = "";
309};
310
311USTRUCT(BlueprintType)
313{
314 GENERATED_BODY()
315 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
316 FString access_token = "";
317};
318
319USTRUCT(BlueprintType)
321{
322 GENERATED_BODY()
323 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
324 FString refresh_token = "";
325};
326
327USTRUCT(BlueprintType)
329{
330 GENERATED_BODY()
331 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
332 FString steam_app_id = "";
333};
334
335USTRUCT(BlueprintType)
337{
338 GENERATED_BODY()
339 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
340 FString key = "";
341 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
342 FString platform = "";
343 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
344 FString token = "";
345 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
346 int Active_steam_app_id = 0;
347};
348
349USTRUCT(BlueprintType)
351{
352 GENERATED_BODY()
353 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
354 int user_id = 0;
355};
356
357USTRUCT(BlueprintType)
359{
360 GENERATED_BODY()
361 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
362 FString Email = "";
363};
364
365USTRUCT(BlueprintType)
367{
368 GENERATED_BODY()
369 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
370 int32 current = 0;
371 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
372 bool current_is_prestige = false;
373 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
374 int32 next = 0;
375 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
376 bool next_is_prestige = false;
377};
378
379USTRUCT(BlueprintType)
381{
382 GENERATED_BODY()
386 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
387 FString player_name = "";
391 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
392 int32 player_id = 0;
396 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
397 FString public_uid = "";
401 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
402 FString player_ulid = "";
406 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
407 FString player_created_at = "";
411 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
412 bool seen_before = false;
416 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
417 bool check_grant_notifications = false;
421 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
422 bool check_deactivation_notifications = false;
426 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
427 int32 xp = 0;
431 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
432 int32 level = 0;
436 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
441 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
442 int32 account_balance = 0;
446 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
447 FString player_identifier = "";
451 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
452 FString wallet_id = "";
456 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
457 TArray<FString> Errors;
458};
459
460USTRUCT(BlueprintType)
462{
463 GENERATED_BODY()
464 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
465 FString refresh_token = "";
466};
467
468USTRUCT(BlueprintType)
470{
471 GENERATED_BODY()
472 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
473 FString refresh_token = "";
474};
475
476USTRUCT(BlueprintType)
478{
479 GENERATED_BODY()
480 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
481 FString refresh_token = "";
482};
483
484USTRUCT(BlueprintType)
486{
487 GENERATED_BODY()
488 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
489 FString refresh_token = "";
490};
491
492USTRUCT(BlueprintType)
494{
495 GENERATED_BODY()
496 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
497 FString refresh_token = "";
498};
499
500USTRUCT(BlueprintType)
502{
503 GENERATED_BODY()
504 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
505 int32 game_id = 0;
506 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
507 int32 user_id = 0;
508 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
509 FString email = "";
510};
511
512USTRUCT(BlueprintType)
514{
515 GENERATED_BODY()
516 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
518 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
520
522
524 {
525 this->success = LoginResponse.success;
526 this->StatusCode = LoginResponse.StatusCode;
527 this->session_token = LoginResponse.session_token;
528 this->FullTextFromServer = LoginResponse.FullTextFromServer;
529 this->LoginResponse = LoginResponse;
530 this->ErrorData = ErrorData;
531 this->Context = LoginResponse.Context;
532 }
533
535 {
536 this->success = SessionResponse.success;
537 this->StatusCode = SessionResponse.StatusCode;
538 this->session_token = SessionResponse.session_token;
539 this->FullTextFromServer = SessionResponse.FullTextFromServer;
540 this->LoginResponse = LoginResponse;
541 this->StartSessionResponse = SessionResponse;
542 this->ErrorData = ErrorData;
543 this->Context = SessionResponse.Context;
544 }
545};
546
547USTRUCT(BlueprintType)
549{
550 GENERATED_BODY()
551 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
552 FString refresh_token = "";
553};
554
555USTRUCT(BlueprintType)
557{
558 GENERATED_BODY()
559 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
560 FString refresh_token = "";
561};
562
565
587
588
590UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
591class LOOTLOCKERSDK_API ULootLockerAuthenticationRequestHandler : public UObject
592{
593 GENERATED_BODY()
594public:
596
597 static FString WhiteLabelCreateAccount(const FString& Email, const FString& Password, const FLootLockerLoginResponseDelegate& OnCompletedRequest);
598 static FString WhiteLabelLogin(const FString& Email, const FString& Password, const bool Remember, const FLootLockerLoginResponseDelegate& OnCompletedRequest);
599 static FString GuestLogin(const FString& playerIdentifier, const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& OnCompletedRequest);
600 static FString WhiteLabelStartSessionManual(const FString& Email, const FString& WhiteLabelToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& OnCompletedRequest);
601 static FString WhiteLabelStartSession(const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& OnCompletedRequest);
602 static FString WhiteLabelVerifySession(const FLootLockerPlayerData& ForPlayer, const FLootLockerWhiteLabelVerifySessionDelegate& OnCompletedRequest);
603 static FString WhiteLabelRequestUserVerification(const int& UserId, const FLootLockerDefaultDelegate& OnCompletedRequest);
604 static FString WhiteLabelRequestUserVerificationByEmail(const FString& Email, const FLootLockerDefaultDelegate& OnCompletedRequest);
605 static FString WhiteLabelRequestPasswordReset(const FString& Email, const FLootLockerDefaultDelegate& OnCompletedRequest);
606 static FString StartPlaystationNetworkSession(const FString& PsnOnlineId, const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& Delegate);
607 static FString VerifyPlayerAndStartPlaystationNetworkSession(const FString& AuthCode, const FString& AccountID, int PsnIssuerId, const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& Delegate);
608 static FString VerifyPlayerAndStartPlaystationNetworkV3Session(const FString& AuthCode, int EnvIssuerId, const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& Delegate);
609 static FString StartAndroidSession(const FString& DeviceId, const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& Delegate);
610 static FString StartGoogleSession(const FString& IdToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerGoogleSessionResponseDelegate& OnCompletedRequest);
611 static FString StartGoogleSession(const FString& IdToken, const ELootLockerGoogleClientPlatform Platform, const FLootLockerSessionOptionals& Optionals, const FLootLockerGoogleSessionResponseDelegate& OnCompletedRequest);
612 static FString RefreshGoogleSession(const FString& RefreshToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerGoogleSessionResponseDelegate& OnCompletedRequest);
613 static FString StartGooglePlayGamesSession(const FString& IdToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerGooglePlayGamesSessionResponseDelegate& OnCompletedRequest);
614 static FString RefreshGooglePlayGamesSession(const FString& RefreshToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerGooglePlayGamesSessionResponseDelegate& OnCompletedRequest);
615 static FString StartEpicSession(const FString& IdToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerEpicSessionResponseDelegate& OnCompletedRequest);
616 static FString RefreshEpicSession(const FString& RefreshToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerEpicSessionResponseDelegate& OnCompletedRequest);
617 static FString StartAmazonLunaSession(const FString& AmazonLunaGuid, const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& Delegate);
618 static FString StartSteamSession(const FString& SteamId64, const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& Delegate);
619 static FString StartSteamSession(const FString& SteamSessionTicket, const FString& SteamAppId, const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& Delegate);
620 static FString StartNintendoSwitchSession(const FString& NSAIdToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& OnCompletedRequest);
621 static FString StartXboxSession(const FString& XboxUserToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerSessionResponse& OnCompletedRequest);
622 static FString StartAppleSession(const FString& AuthorizationCode, const FLootLockerSessionOptionals& Optionals, const FLootLockerAppleSessionResponseDelegate& OnCompletedRequest);
623 static FString RefreshAppleSession(const FString& RefreshToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerAppleSessionResponseDelegate& OnCompletedRequest);
624 static FString VerifyPlayer(const FLootLockerPlayerData& ForPlayer, const FString& PlatformToken, const FString& Platform, const int SteamAppId = -1, const FLootLockerDefaultDelegate& OnCompletedRequest = FLootLockerDefaultDelegate());
625 static FString EndSession(const FLootLockerPlayerData& ForPlayer, const FLootLockerDefaultDelegate& OnCompletedRequest);
626 static FString WhiteLabelLoginAndStartSession(const FString& Email, const FString& Password, bool bRemember, const FLootLockerSessionOptionals& Optionals, const FLootLockerWhiteLabelLoginAndSessionResponseDelegate& LootLockerWhiteLabelLoginAndSessionResponseDelegate);
627 static FString StartAppleGameCenterSession(const FString& BundleId, const FString& PlayerId, const FString& PublicKeyUrl, const FString& Signature, const FString& Salt, const FString& Timestamp, const FLootLockerSessionOptionals& Optionals, const FLootLockerAppleGameCenterSessionResponseDelegate& OnCompletedRequest);
628 static FString RefreshAppleGameCenterSession(const FString& RefreshToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerAppleGameCenterSessionResponseDelegate& OnCompletedRequest);
629 static FString StartMetaSession(const FString& UserId, const FString& Nonce, const FLootLockerSessionOptionals& Optionals, const FLootLockerMetaSessionResponseDelegate& OnCompletedRequest);
630 static FString RefreshMetaSession(const FString& RefreshToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerMetaSessionResponseDelegate& OnCompletedRequest);
631 static FString StartDiscordSession(const FString& AccessToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerDiscordSessionResponseDelegate& OnCompletedRequest);
632 static FString RefreshDiscordSession(const FString& RefreshToken, const FLootLockerSessionOptionals& Optionals, const FLootLockerDiscordSessionResponseDelegate& OnCompletedRequest);
633
634private:
635 template<typename RequestType>
636 static FString AuthRequestToJsonStringWithOptionals(const RequestType& AuthRequest, const FLootLockerSessionOptionals& Optionals);
637
638 static FString _TempWhiteLabelEmailHolder;
639 static FString _TempWhiteLabelTokenHolder;
640 static TMap<FString, FString> DomainKeyHeaders();
641};
void(* FLootLockerDefaultDelegate)(FLootLockerResponse)
Definition LootLockerResponse.h:38
Definition LootLockerAuthenticationRequestHandler.h:592
static FString WhiteLabelStartSessionManual(const FString &Email, const FString &WhiteLabelToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &OnCompletedRequest)
static FString RefreshMetaSession(const FString &RefreshToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerMetaSessionResponseDelegate &OnCompletedRequest)
static FString StartGooglePlayGamesSession(const FString &IdToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerGooglePlayGamesSessionResponseDelegate &OnCompletedRequest)
static FString WhiteLabelLogin(const FString &Email, const FString &Password, const bool Remember, const FLootLockerLoginResponseDelegate &OnCompletedRequest)
static FString VerifyPlayerAndStartPlaystationNetworkV3Session(const FString &AuthCode, int EnvIssuerId, const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &Delegate)
static FString StartGoogleSession(const FString &IdToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerGoogleSessionResponseDelegate &OnCompletedRequest)
ULootLockerAuthenticationRequestHandler()
Definition LootLockerAuthenticationRequestHandler.h:595
static FString RefreshGoogleSession(const FString &RefreshToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerGoogleSessionResponseDelegate &OnCompletedRequest)
static FString StartAndroidSession(const FString &DeviceId, const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &Delegate)
static FString StartMetaSession(const FString &UserId, const FString &Nonce, const FLootLockerSessionOptionals &Optionals, const FLootLockerMetaSessionResponseDelegate &OnCompletedRequest)
static FString StartSteamSession(const FString &SteamId64, const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &Delegate)
static FString WhiteLabelStartSession(const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &OnCompletedRequest)
static FString VerifyPlayerAndStartPlaystationNetworkSession(const FString &AuthCode, const FString &AccountID, int PsnIssuerId, const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &Delegate)
static FString WhiteLabelRequestPasswordReset(const FString &Email, const FLootLockerDefaultDelegate &OnCompletedRequest)
static FString StartEpicSession(const FString &IdToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerEpicSessionResponseDelegate &OnCompletedRequest)
static FString StartPlaystationNetworkSession(const FString &PsnOnlineId, const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &Delegate)
static FString StartAppleGameCenterSession(const FString &BundleId, const FString &PlayerId, const FString &PublicKeyUrl, const FString &Signature, const FString &Salt, const FString &Timestamp, const FLootLockerSessionOptionals &Optionals, const FLootLockerAppleGameCenterSessionResponseDelegate &OnCompletedRequest)
static FString WhiteLabelVerifySession(const FLootLockerPlayerData &ForPlayer, const FLootLockerWhiteLabelVerifySessionDelegate &OnCompletedRequest)
static FString StartNintendoSwitchSession(const FString &NSAIdToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &OnCompletedRequest)
static FString RefreshDiscordSession(const FString &RefreshToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerDiscordSessionResponseDelegate &OnCompletedRequest)
static FString RefreshAppleSession(const FString &RefreshToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerAppleSessionResponseDelegate &OnCompletedRequest)
static FString StartAmazonLunaSession(const FString &AmazonLunaGuid, const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &Delegate)
static FString StartDiscordSession(const FString &AccessToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerDiscordSessionResponseDelegate &OnCompletedRequest)
static FString WhiteLabelRequestUserVerification(const int &UserId, const FLootLockerDefaultDelegate &OnCompletedRequest)
static FString GuestLogin(const FString &playerIdentifier, const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &OnCompletedRequest)
static FString RefreshAppleGameCenterSession(const FString &RefreshToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerAppleGameCenterSessionResponseDelegate &OnCompletedRequest)
static FString StartAppleSession(const FString &AuthorizationCode, const FLootLockerSessionOptionals &Optionals, const FLootLockerAppleSessionResponseDelegate &OnCompletedRequest)
static FString EndSession(const FLootLockerPlayerData &ForPlayer, const FLootLockerDefaultDelegate &OnCompletedRequest)
static FString WhiteLabelCreateAccount(const FString &Email, const FString &Password, const FLootLockerLoginResponseDelegate &OnCompletedRequest)
static FString StartSteamSession(const FString &SteamSessionTicket, const FString &SteamAppId, const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &Delegate)
static FString WhiteLabelRequestUserVerificationByEmail(const FString &Email, const FLootLockerDefaultDelegate &OnCompletedRequest)
static FString VerifyPlayer(const FLootLockerPlayerData &ForPlayer, const FString &PlatformToken, const FString &Platform, const int SteamAppId=-1, const FLootLockerDefaultDelegate &OnCompletedRequest=FLootLockerDefaultDelegate())
static FString StartXboxSession(const FString &XboxUserToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerSessionResponse &OnCompletedRequest)
static FString RefreshGooglePlayGamesSession(const FString &RefreshToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerGooglePlayGamesSessionResponseDelegate &OnCompletedRequest)
static FString WhiteLabelLoginAndStartSession(const FString &Email, const FString &Password, bool bRemember, const FLootLockerSessionOptionals &Optionals, const FLootLockerWhiteLabelLoginAndSessionResponseDelegate &LootLockerWhiteLabelLoginAndSessionResponseDelegate)
static FString RefreshEpicSession(const FString &RefreshToken, const FLootLockerSessionOptionals &Optionals, const FLootLockerEpicSessionResponseDelegate &OnCompletedRequest)
static FString StartGoogleSession(const FString &IdToken, const ELootLockerGoogleClientPlatform Platform, const FLootLockerSessionOptionals &Optionals, const FLootLockerGoogleSessionResponseDelegate &OnCompletedRequest)
void(* FLootLockerWhiteLabelLoginAndSessionResponseDelegate)(FLootLockerWhiteLabelLoginAndSessionResponse)
C++ response callback delegate; receives an FLootLockerWhiteLabelLoginAndSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:580
void(* FLootLockerGoogleSessionResponseDelegate)(FLootLockerGoogleSessionResponse)
C++ response callback delegate; receives an FLootLockerGoogleSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:570
void(* FLootLockerMetaSessionResponseDelegate)(FLootLockerMetaSessionResponse)
C++ response callback delegate; receives an FLootLockerMetaSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:584
void(* FLootLockerAppleSessionResponseDelegate)(FLootLockerAppleSessionResponse)
C++ response callback delegate; receives an FLootLockerAppleSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:568
void(* FLootLockerDiscordSessionResponseDelegate)(FLootLockerDiscordSessionResponse)
C++ response callback delegate; receives an FLootLockerDiscordSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:586
void(* FLootLockerWhiteLabelVerifySessionDelegate)(FLootLockerWhiteLabelVerifySessionResponse)
C++ response callback delegate; receives an FLootLockerWhiteLabelVerifySessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:578
void(* FLootLockerAppleGameCenterSessionResponseDelegate)(FLootLockerAppleGameCenterSessionResponse)
C++ response callback delegate; receives an FLootLockerAppleGameCenterSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:582
void(* FLootLockerSessionResponse)(FLootLockerAuthenticationResponse)
C++ response callback delegate; receives an FLootLockerAuthenticationResponse result.
Definition LootLockerAuthenticationRequestHandler.h:566
void(* FLootLockerEpicSessionResponseDelegate)(FLootLockerEpicSessionResponse)
C++ response callback delegate; receives an FLootLockerEpicSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:574
void(* FLootLockerLoginResponseDelegate)(FLootLockerLoginResponse)
C++ response callback delegate; receives an FLootLockerLoginResponse result.
Definition LootLockerAuthenticationRequestHandler.h:576
ELootLockerGoogleClientPlatform
Google OAuth2 Client platform.
Definition LootLockerAuthenticationRequestHandler.h:19
void(* FLootLockerGooglePlayGamesSessionResponseDelegate)(FLootLockerGooglePlayGamesSessionResponse)
C++ response callback delegate; receives an FLootLockerGooglePlayGamesSessionResponse result.
Definition LootLockerAuthenticationRequestHandler.h:572
Definition LootLockerAuthenticationRequestHandler.h:165
Definition LootLockerAuthenticationRequestHandler.h:470
Definition LootLockerAuthenticationRequestHandler.h:193
Definition LootLockerAuthenticationRequestHandler.h:462
Definition LootLockerAuthenticationRequestHandler.h:29
FString session_token
The session token that can now be used to use further LootLocker functionality.
Definition LootLockerAuthenticationRequestHandler.h:35
Definition LootLockerAuthenticationRequestHandler.h:93
Definition LootLockerAuthenticationRequestHandler.h:381
Definition LootLockerAuthenticationRequestHandler.h:83
Definition LootLockerAuthenticationRequestHandler.h:313
Definition LootLockerAuthenticationRequestHandler.h:557
Definition LootLockerAuthenticationRequestHandler.h:359
Definition LootLockerAuthenticationRequestHandler.h:249
Definition LootLockerAuthenticationRequestHandler.h:494
Definition LootLockerAuthenticationRequestHandler.h:233
Definition LootLockerAuthenticationRequestHandler.h:486
Definition LootLockerAuthenticationRequestHandler.h:217
Definition LootLockerAuthenticationRequestHandler.h:209
Definition LootLockerAuthenticationRequestHandler.h:478
Definition LootLockerAuthenticationRequestHandler.h:367
Definition LootLockerAuthenticationRequestHandler.h:40
Definition LootLockerAuthenticationRequestHandler.h:59
Definition LootLockerAuthenticationRequestHandler.h:549
Definition LootLockerAuthenticationRequestHandler.h:131
Definition LootLockerPlayerData.h:12
Definition LootLockerAuthenticationRequestHandler.h:291
Definition LootLockerAuthenticationRequestHandler.h:277
Definition LootLockerAuthenticationRequestHandler.h:184
Definition LootLockerAuthenticationRequestHandler.h:201
Definition LootLockerAuthenticationRequestHandler.h:321
Definition LootLockerAuthenticationRequestHandler.h:257
Definition LootLockerAuthenticationRequestHandler.h:241
Definition LootLockerAuthenticationRequestHandler.h:225
Definition LootLockerAuthenticationRequestHandler.h:149
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19
bool success
Whether this request was a success.
Definition LootLockerResponse.h:23
FLootLockerRequestContext Context
Context for the request.
Definition LootLockerResponse.h:35
int StatusCode
HTTP Status code from the request to LootLockers backend.
Definition LootLockerResponse.h:26
FString FullTextFromServer
Raw text/http body from the server response.
Definition LootLockerResponse.h:29
Optional parameters that can be sent when starting a session.
Definition LootLockerSessionOptionals.h:12
Definition LootLockerAuthenticationRequestHandler.h:139
Definition LootLockerAuthenticationRequestHandler.h:305
Definition LootLockerAuthenticationRequestHandler.h:329
Definition LootLockerAuthenticationRequestHandler.h:351
Definition LootLockerAuthenticationRequestHandler.h:265
Definition LootLockerAuthenticationRequestHandler.h:337
Definition LootLockerAuthenticationRequestHandler.h:103
Definition LootLockerAuthenticationRequestHandler.h:514
FLootLockerWhiteLabelLoginAndSessionResponse(const FLootLockerLoginResponse &LoginResponse, const FLootLockerAuthenticationResponse &SessionResponse)
Definition LootLockerAuthenticationRequestHandler.h:534
Definition LootLockerAuthenticationRequestHandler.h:50
Definition LootLockerAuthenticationRequestHandler.h:123
Definition LootLockerAuthenticationRequestHandler.h:113
Definition LootLockerAuthenticationRequestHandler.h:502
Definition LootLockerAuthenticationRequestHandler.h:157