Start and manage a server session with the LootLocker backend.
Server sessions authenticate with the Server API Key rather than a player credential. Once authenticated, all other server API calls use the session token automatically. Use MaintainSession to extend the token lifetime without starting a new session.
See the LootLocker documentation.
◆ MaintainSession()
Keep the session alive, you should call this endpoint at least once per hour, to extend your tokens lifetime.
- Parameters
-
| OnCompletedRequest | Delegate for handling the response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound
◆ StartSession()
Start a session connecting to the LootLocker services with the server API key.
- Parameters
-
| OnCompletedRequest | Delegate for handling the response |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound