We are to create a Launcher for games. After a player login in the Launcher, which param to send to games from the Launcher: - SessionTicket - PlayFabId - EntityToken
The information passed to the game depends on your needs. However, to be able to call PlayFab Entity APIs, you may need to pass an EntityToken into your game, refer to Entity Programming Model - PlayFab | Microsoft Learn. And to call PlayFab Client APIs, you may also need to pass a SessionTicket into your game. You can use EntityToken and Sessionticket to get other information except "NewlyCreated" and "TokenExpiration" properties in login response. So, if that info are required by your game, then you may need to pass that info as well.
Hello Gasen,
Thanks for your reply, which is really helpful.
"You can use EntityToken and Sessionticket to get other information except "NewlyCreated" and "TokenExpiration" properties in login response."
We want to know: - How to get PlayFabId by using EntityToken and SessionTicket? - What's the APIs to get other information?
>> How to get PlayFabId by using EntityToken and SessionTicket?
You can call Get Player Combined Info API with the SessionTicket to get the PlayFabId. Using this API, you can also get a lot of other information about the player.
>> What's the APIs to get other information?
You can set GetUserAccountInfo option in InfoRequestParameters to true in the Get Player Combined Info API request body to get the LastLoginTime, Entity properties. To get the TreatmentAssignment property, you need to call Get Treatment Assignment API with EntityToken. In addition, the SettingsForUser property can only be obtained in login result, just like the "NewlyCreated" and "TokenExpiration" properties.
3 People are following this question.
Having trouble finding PF-specifics in Epic's OSS docs
Xsolla and Playfab are not integrating with unreal engine
Having trouble with Get content from CDN to Update my game's version in Unreal Engine 4
Error in creating payment token for purchase on playfab
In some cases, Steam Overlay does not open to make a transaction after calling "PayForPurchase".