question

merlineus avatar image
merlineus asked

Unlink all iOS devices

Hi,

Is it possible to unlink all previously linked devices? I want to implement scheme with only one simultaneously user login so when user enters his username/password on a new device all previously linked became unlinked to ask login credentials on game start.

Thank you.

Leaderboards and StatisticsAuthentication
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Sorry, there's no single API call that would do that - and it would actually be somewhat dangerous, as the login credentials for player accounts live at the Publisher ID level, not the title level. All titles in your studio share the same Publisher ID by default. When a player signs into one of your titles for the first time, they create a player account for that credential in that space. Additional login mechanisms can be linked to it, and then, when the player signs into another of your games, they're signing into the same Studio-level account (with distinct title-level data for each game - inventory, player data, stats, etc.).

4 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

merlineus avatar image merlineus commented ·

Thanks for the answer.

My game allows only one simultaneously user session to avoid cheating. User must not be allowed to enter game on several devices at the same time. What is the best approach to achieve that?

0 Likes 0 ·
brendan avatar image brendan merlineus commented ·
0 Likes 0 ·
merlineus avatar image merlineus commented ·

It's not clear from your answer, additional login mechanisms are linked to PlayFab account at Publisher ID level and are the same in every publisher's game or they could be different in different games?

Also is it any possibility to get list of accounts at Publisher ID level and manage them? I've deleted a user from the Title, but can't reregister him again because it's email still using.

0 Likes 0 ·
brendan avatar image brendan merlineus commented ·

Your studio has a Publisher ID which is the default Publisher ID for your games (and no one else's). The Publisher ID defines the "space" in which player accounts are created, so that if a player signs into one of your games on a device, then links it to Facebook, Steam, etc., the same player logging into another of your games with any of those is logging into the same account - it's just that each game has a bunch of distinct info for the player, like inventory, stats, data, etc. That's also how we enable user publisher data - a space you can use to share data across games, for things like rewarding gameplay across games (they played game A, so give them a gift in game B) and loading progress info from a previous game in a series.

When you delete a player, it is places in a queue. The email address will be available once the account has been processed (https://community.playfab.com/questions/13213/why-doest-deleting-players-free-their-email.html). The GetPlayersInSegment API call and PlayStream events (https://community.playfab.com/questions/10422/list-of-playersget-list-of-players.html) are per-title though, so you would need to aggregate that information across games.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.