Sync Manager

The PlayFab Sync Manager is designed to link and unlink additional authentication methods into one account, while also collecting additional profile information and exclusive data from each authentication platform. 

There are lots of authentication methods to sync with. Like Facebook, Google Play, Android, iOS, Xbox, Steam, Game Center, Kongregate, etc.

This module is an important feature for online games that allow for multiple authentication options and additional security for the account.

This is best used with the Authentication addon.

 

Intstructions

1. The first step is to add the PlayFab API addon into the project.

2. Then, add the Authentication addon into the project.

3. Finally, add the Sync Manager addon into the project.

Features :

  • Bind and Unbind to different authentication methods, to add more login methods.

  • Profile information and synced authentication platforms are synced.

  • Integration support for each platform.

  • Organized request and callback features.

Network Services :

  • Facebook

  • Google Plus

  • Game Center

  • Google Play

  • Facebook Instant Games

  • Steam

  • Xbox Live

  • Nintendo Switch

  • PS4

  • PlayFab

Sync Methods

Company

Android

iOS

Facebook

Google Plus

Cryptography

The Sync Manager addon manages the linking of other authentication methods into an existing account. In this way, you can add or remove authentication methods in the same account, this is called binding or unbinding an account. 

 

Similar to initially authenticating for a new account, through the Authentication addon. The Sync Manager also allows the user to receive 3rd party service details of a player's account from the new authentication method.
For example, Facebook and Google Plus giving the account holder's name, profile picture, friends list, leaderboard scores and other profile information.

PlayFab keeps a record of all the linked authentication methods of an account, including the original registration auth method. The data can be retrieved from the Account Info and Player Manager addons.

There are 6 authentication methods to sync to with:

  • Company - uses an email, username and password authentication. This is an authentication system where you can use the server allocation for your own company title.

  • Android - uses the Android device's UUID (Universally Unique Identifier) for authentication.

    • Mobile Info - this addon is required to obtain the mobile device's UUID.

  • iOS - uses the iOS device's UUID (Universally Unique Identifier) for authentication.

    • Mobile Info - this addon is required to obtain the mobile device's UUID.

  • Facebook - uses Facebook for authentication. This requires an access token to access the Facebook servers.

    • Mobile Facebook - this addon is required to use either the Android Facebook SDK or iOS Facebook SDK. This is where the authentication is implemented and then an Access Token is manually passed into the Authentication plugin.

    • Web Facebook - this addon is required to use the Web Facebook SDK. This is where the authentication is implemented and then an Access Token is manually passed into the Authentication plugin.

  • Google Play - uses Google Plus for authentication. This requires a ServerAuthCode​ to access the Google servers.

    •  Mobile GooglePlus - this addon is required to use the Android Google Plus SDK or iOS Google Plus SDK. This is where the authentication is implemented and then a ServerAuthCode is manually passed into the Authentication plugin.

  • Cryptography - also known as the Custom ID. This is a customized identification you can assign for each user as an authentication method. It's named cryptography due to its flexibility of being  assigned with any string. This gives you freedom on how you want to implement authentication for your game.

The synced accounts of players can be viewed in realtime in the players overview from the PlayFab Console.

If your company requires an auth method not available from the list, please contact support

 
 

Authentication

The Authentication addon implements login and registration for PlayFab.

After registration, you can use the Sync Manager addon to add another auth method. The new authentication method can then be used to login the same account using the Authentication addon.

Actions, Conditions & Expressions

Actions

Device Bind :

  • Link Android Device - Links the Android device identifier to the user's PlayFab account.

  • UUID - The Android Device's Unique Device ID.

  • OS - The Android Device's Operating System.

  • Model - The Android Device's Model.

  • Force Link - If another user is already linked to the device, unlink the other user and re-link.

  • Link IOS Device - Links the vendor-specific iOS device identifier to the user's PlayFab account.

    • UUID - Vendor-specific iOS identifier for the user's device.

    • OS - Specific Operating System version for the user's device.

    • Model - Specific model of the user's device.

    • Force Link - If another user is already linked to the device, unlink the other user and re-link.

  • UnLink Android Device - Unlinks the related Android device identifier from the user's PlayFab account.

    • UUID - The Android Device's Unique Device ID.

  • UnLink IOS Device - Unlinks the related iOS device identifier from the user's PlayFab account.

    • UUID - Vendor-specific iOS identifier for the user's device.

  • UnLink Recent Android Device - Unlinks the related Android device identifier from the user's PlayFab account.

  • UnLink Recent IOS Device - Unlinks the related iOS device identifier from the user's PlayFab account.

Cryptographic Bind :

  • Link CustomID - Links the custom identifier, generated by the title, to the user's PlayFab account.

    • CustomID - Custom unique identifier for the user, generated by the title.

    • Force Link - If another user is already linked to the device, unlink the other user and re-link.

  • UnLink CustomID - Unlinks the related custom identifier from the user's PlayFab account.

    • CustomID - Custom unique identifier for the user, generated by the title.

  • UnLink Recent CustomID - Unlinks the related custom identifier from the user's PlayFab account.

 

 

Platform Bind :

  • Link Facebook Account - Links the Facebook account associated with the provided Facebook access token to the user's PlayFab account.

    • Access Token - Unique identifier from Facebook for the user.

    • Force Link - If another user is already linked to the device, unlink the other user and re-link.​

  • Link Google Account - Links the currently signed-in user account to their Google account, using their Google account credentials.

    • ServerAuthCode - Server authentication code obtained on the client by calling getServerAuthCode().

    • Force Link - If another user is already linked to the device, unlink the other user and re-link.

  • UnLink Facebook - Unlinks the related Facebook account from the user's PlayFab account.

  • UnLink Google - Unlinks the related Google account from the user's PlayFab account.

Conditions

Cryptographic Bind :

  • On CustomID Linked - Triggers when the Link Account to CustomID Succeeded.

  • On Identifier Already Claimed - Triggers when the Link Account to CustomID responded that the Linked Identifier is Already Claimed.

  • On CustomID Linking Error - Triggers when the Link Account to CustomID failed with an error.

Android Device Bind :

  • On Device Linked - Triggers when the Link Account to Android Device Succeeded.

  • On Device Already Linked - Triggers when the Link Account to Android Device responded that the Device is already linked.

  • On Linked Device Already Claimed - Triggers when the Link Account to Android Device responded that the Linked Device is Already Claimed.

  • On Device Linking Error - Triggers when the Link Account to Android Device failed with an error.


IOS Device Bind :

  • On Device Linked - Triggers when the Link Account to IOS Device Succeeded.

  • On Device Already Linked - Triggers when the Link Account to IOS Device responded that the Device is already linked.

  • On Linked Device Already Claimed - Triggers when the Link Account to IOS Device responded that the Linked Device is Already Claimed.

  • On Device Linking Error - Triggers when the Link Account to IOS Device failed with an error.


Facebook Bind :

  • On Facebook Linked - Triggers when the Link Account to Facebook Succeeded.

  • On Account Already Linked - Triggers when the Link Account to Facebook responded that the Account is already Linked.

  • On Linked Account Already Claimed - Triggers when the Link Account to Facebook responded that the Linked Account is Already Claimed.

  • On Facebook Linking Error - Triggers when the Link Account to Facebook failed with an error.


Google Bind :

  • On Google Linked - Triggers when the Link Account to Google Succeeded.

  • On Account Already Linked - Triggers when the Link Account to Google responded that the Account is already Linked.

  • On Linked Account Already Claimed - Triggers when the Link Account to Google responded that the Linked Account is Already Claimed.

  • On Google Linking Error - Triggers when the Link Account to Google failed with an error.


Android Device UnBind :

  • On Device UnLinked - Triggers when the UnLink Account from Android Device Succeeded.

  • On Account Not Linked - Triggers when the UnLink Account from Android Device responded that the Account is not linked.

  • On Device Not Linked - Triggers when the UnLink Account from Android Device responded that the Device is not linked.

  • On Device UnLinking Error - Triggers when the UnLink Account from Android Device failed with an error.


IOS Device UnBind :

  • On Device UnLinked - Triggers when the UnLink Account from IOS Device Succeeded.

  • On Account Not Linked - Triggers when the UnLink Account from IOS Device responded that the Account is not linked.

  • On Device Not Linked - Triggers when the UnLink Account from IOS Device responded that the Device is not linked.

  • On Device UnLinking Error - Triggers when the UnLink Account from IOS Device failed with an error.


Cryptographic UnBind :

  • On CustomID UnLinked - Triggers when the UnLink Account from CustomID Succeeded.

  • On Account Not Linked - Triggers when the UnLink Account from CustomID responded that the Account is not linked.

  • On CustomID Not Linked - Triggers when the UnLink Account from CustomID responded that the CustomID is not linked.

  • On CustomID UnLinking Error - Triggers when the UnLink Account from CustomID failed with an error.

Facebook UnBind :

  • On Facebook UnLinked - Triggers when the UnLink Account from the Facebook Account Succeeded.

  • On Facebook Account Not Linked - Triggers when the UnLink Account from the Facebook Account responded that the Account is not linked.

  • On Facebook UnLinking Error - Triggers when the UnLink Account from the Facebook Account failed with an error.


Google UnBind :

  • On Google UnLinked - Triggers when the UnLink Account from the Google Account Succeeded.

  • On Google Account Not Linked - Triggers when the UnLink Account from the Google Account responded that the Account is not linked.

  • On Google UnLinking Error - Triggers when the UnLink Account from the Google Account failed with an error.

Tools :

  • Is Any Linking - Checks if any authentication method is in the process of syncing.

  • Is Any UnLinking - Checks if any authentication method is in the process of unsyncing.

  • Is Linking - Checks if an authentication method is in the process of syncing.

    • Auth Method - The authentication method that is in the process of syncing.

      • Facebook​

      • Google Play

      • Android

      • iOS

      • Custom ID

  • Is UnLinking - Checks if an authentication method is in the process of unsyncing.

    • Auth Method - The authentication method that is in the process of unsyncing.

      • Facebook​

      • Google Play

      • Android

      • iOS

      • Custom ID

Expressions

Server Response :

  • ServerResponse - Return the "Server Response" from every request from the PlayFab Server. The server response can also be shown in the "Chrome Developer Tools : Console", if in "debug mode".

 
 

Company  Authentication Sync

Sample Game Project

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Supporters

Only

Mobile Device Authentication Sync

Sample Game Project

Dependencies​:

  • Mobile Info - requirement for mobile.

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Supporters

Only

Custom ID Authentication Sync

Sample Game Project

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Supporters

Only

Google Plus Authentication Sync

Sample Game Project

Dependencies​:

  • Mobile GooglePlus - requirement for mobile.

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Supporters

Only

Facebook Authentication Sync

Sample Game Project

Dependencies​:

  • Mobile Facebook - requirement for mobile.

  • Web Facebook - requirement for web.

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Mobile  Implementation

Web Implementation

Supporters

Only

Game Project

Sample Setup Project

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Supporters

Only

Get the tools

for your pro games!

Constuct Master Collection - Itch.io
Constuct Master Collection - Discord
Constuct Master Collection - Construct 3

© Construct Master Collection 2020 • All rights reserved

Contact Information:

Conditions - 2