Log in to a different platform than the one you are currently playing on.
Part of Unified Player Accounts (UPA). A player on one platform (e.g., Nintendo Switch) can authenticate as their account on another platform (e.g., Steam) without needing the target platform's native app. The flow uses an 8-digit code verified through https://auth.game.
See the LootLocker documentation.
◆ FLootLockerLeaseRemoteSessionResponseDelegate
C++ response delegate for receiving the remote session lease information.
◆ FLootLockerRefreshRemoteSessionResponseDelegate
C++ response delegate for receiving the refreshed remote session.
◆ FLootLockerRemoteSessionStatusPollingResponseDelegate
C++ response delegate for receiving continual polling updates.
◆ FLootLockerStartRemoteSessionResponseDelegate
C++ response delegate for receiving the finalized remote session data (whether successful or not)
◆ ELootLockerRemoteSessionLeaseIntent
Possible intents for remote sessions.
| Enumerator |
|---|
| login | Intent is to log in using a leased remote session.
|
| link | Intent is to link different providers.
|
◆ ELootLockerRemoteSessionLeaseStatus
Possible entity kinds that catalog entries can have.
| Enumerator |
|---|
| Created | |
| Claimed | |
| Verified | |
| Authorized | |
| Cancelled | |
| Timed_out | |
| Failed | |
◆ CancelRemoteSessionProcess()
| static void ULootLockerSDKManager::CancelRemoteSessionProcess |
( |
const FString & |
ProcessID | ) |
|
|
static |
Cancel a remote session process.
- Parameters
-
| ProcessID | Remote session process id |
◆ RefreshRemoteSession() [1/2]
Refresh a remotely started session.
401 means the refresh token expired and a new login is required.
- Parameters
-
| OnCompletedRequest | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ RefreshRemoteSession() [2/2]
Refresh a remotely started session with explicit refresh token.
401 means the refresh token expired and a new login is required.
- Parameters
-
| RefreshToken | Refresh token from StartRemoteSession |
| OnCompletedRequest | Delegate for handling the server response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ StartRemoteSession()
Start a remote session lease process.
Provides lease info, polls status, then returns success or failure.
- Parameters
-
| RemoteSessionLeaseInformation | Called once with lease info for secondary device |
| RemoteSessionLeaseStatusUpdate | Called periodically with status updates |
| OnComplete | Called when process completes (success or failure) |
| PollingIntervalSeconds | Optional: Status polling interval seconds |
| TimeOutAfterMinutes | Optional: Max duration minutes before timeout |
| Provider | Optional: Preloads the connection flow with which account provider to use for linking, so the user does not have to select it manually. Leave as Guest to let the user choose. |
- Returns
- Remote session process id
-
A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ StartRemoteSessionForLinking()
Start a remote session lease process for linking into a specific player.
- Parameters
-
| ForPlayerWithUlid | Player ULID to link into |
| RemoteSessionLeaseInformation | Called once with lease info for secondary device |
| RemoteSessionLeaseStatusUpdate | Called periodically with status updates |
| OnComplete | Called when process completes (success or failure) |
| PollingIntervalSeconds | Optional: Status polling interval seconds |
| TimeOutAfterMinutes | Optional: Max duration minutes before timeout |
| Provider | Optional: Preloads the connection flow with which account provider to use for linking, so the user does not have to select it manually. Leave as Guest to let the user choose. |
- Returns
- Remote session process id
-
A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
|
| static FString | ULootLockerSDKManager::StartRemoteSession (const FLootLockerLeaseRemoteSessionResponseDelegate &RemoteSessionLeaseInformation, const FLootLockerRemoteSessionStatusPollingResponseDelegate &RemoteSessionLeaseStatusUpdate, const FLootLockerStartRemoteSessionResponseDelegate &OnComplete, float PollingIntervalSeconds=1.0f, float TimeOutAfterMinutes=5.0f, ELootLockerAccountProvider Provider=ELootLockerAccountProvider::Guest) |
| | Start a remote session lease process.
|
| |
| static FString | ULootLockerSDKManager::StartRemoteSessionForLinking (const FString &ForPlayerWithUlid, const FLootLockerLeaseRemoteSessionResponseDelegate &RemoteSessionLeaseInformation, const FLootLockerRemoteSessionStatusPollingResponseDelegate &RemoteSessionLeaseStatusUpdate, const FLootLockerStartRemoteSessionResponseDelegate &OnComplete, float PollingIntervalSeconds=1.0f, float TimeOutAfterMinutes=5.0f, ELootLockerAccountProvider Provider=ELootLockerAccountProvider::Guest) |
| | Start a remote session lease process for linking into a specific player.
|
| |
| static void | ULootLockerSDKManager::CancelRemoteSessionProcess (const FString &ProcessID) |
| | Cancel a remote session process.
|
| |
| static FString | ULootLockerSDKManager::RefreshRemoteSession (const FLootLockerRefreshRemoteSessionResponseDelegate &OnCompletedRequest, const FString &ForPlayerWithUlid="") |
| | Refresh a remotely started session.
|
| |
| static FString | ULootLockerSDKManager::RefreshRemoteSession (const FString &RefreshToken, const FLootLockerRefreshRemoteSessionResponseDelegate &OnCompletedRequest) |
| | Refresh a remotely started session with explicit refresh token.
|
| |