![]() |
LootLocker Unreal Server SDK 6.5.0
Server-side backend SDK for Unreal Engine
|
Exchange player-held game API tokens for use on the server.
Server-to-client token exchange allows a server to obtain a short-lived token on behalf of a player — useful for game clients that need to authenticate server actions back to the player. Supports OAuth2-style flows including refresh.
See the LootLocker documentation.
|
static |
Get a new active game api session token for the player holding the supplied game api session token.
This will allow the server to make requests to the game api on behalf of the user corresponding to the original token.
| GameApiSessionToken | The session token for a current game api session to use in exchange for a new one |
| OnCompletedRequest | Delegate for handling the response |
|
static |
Get a new active game api session token for the specified player.
This will allow the server to make requests to the game api on behalf of the specified user.
| PlayerUlid | The ulid of the player you wish to impersonate |
| OnCompletedRequest | Delegate for handling the response |
Functions | |
| static FString | ULootLockerServerForCpp::GameApiTokenExchange (const FString &GameApiSessionToken, const FLootLockerServerTokenExchangeResponseDelegate &OnCompletedRequest) |
| Get a new active game api session token for the player holding the supplied game api session token. | |
| static FString | ULootLockerServerForCpp::GameApiUserImpersonation (const FString &PlayerUlid, const FLootLockerServerTokenExchangeResponseDelegate &OnCompletedRequest) |
| Get a new active game api session token for the specified player. | |