Skip to main content
Version: SDK-5.11.4


public BackendReturnObject AuthorizeFederation(string federationToken, FederationType type);


federationTokenstringFederation token
typeFederation type(enum)The federation's type.
FederationType.Google, FederationType.Facebook, or FederationType.Apple


An attempt is made to sign up or log in using the member information token value of Google/Apple/Facebook.

  • If the user has no history of signing up with the token, a login is attempted at the same time as the sign-up.
  • If the user has a history of signing up with the token, a login is attempted.



Backend.MultiCharacter.Account.AuthorizeFederation("federationToken" , FederationType.Google, "Signed up with GPGS");


Backend.MultiCharacter.Account.AuthorizeFederation("federationToken" , FederationType.Google, "Signed up with GPGS", callback =>
// Process after federation authentication


SendQueue.Enqueue(Backend.MultiCharacter.Account.AuthorizeFederation, "federationToken" , FederationType.Google, "Signed up with GPGS", callback =>
// Process after federation authentication


Success cases

When the login succeeds
statusCode : 200
message : Success

When signing up as a new member is successful
statusCode : 201
message : Success

Error cases

When the device information is 'null'
statusCode : 400
errorCode : UndefinedParameterException
message : undefined device_unique_id, device_unique_id cannot be checked

When the account is blocked
statusCode : 403
errorCode : Reason for blocking entered in the console
message : forbidden blocked user, Blocked user

When the device is blocked
statusCode : 403
errorCode : ForbiddenException
message : Forbidden blocked device, Blocked device

When withdrawal is in progress (after calling the WithdrawAccount method)
statusCode : 410
errorCode : GoneResourceException
message : Gone user, This user does not exist

When the withdrawal is completed, the new sign-up takes place as 201.

Federation account logout

If you want to log out from the currently logged in federation account and switch to another federation user,

you must log out from the BACKND account and then log out from the federation account to properly log in to another federation account.
After logging in to another federation account, you must call the AuthorizeFederation method to the BACKND account again to successfully play a game with the new account.

How to log out from GPGS

public void GoogleSignout(){

How to log out from Facebook

public void FacebookLogOut(){