Play Games Authenticate

Returns the result of the automatic sign-in attempt.

Play Games SDK automatically prompts users to sign in when the game is started. This API is useful for understanding if your game has access to Play Games Services and should be used when your game is started in order to conditionally enable or disable your Play Games Services.

Parameters

Force Refresh Token
  • If true, the returned authorization code is exchanged a refresh token will be included in addition to an access token. Default to false.

Manual Authenticate
  • Manually requests that your game performs sign in with Play Games Services.

  • Note that a sign-in attempt will be made automatically when your game's application started. For this reason most games will not need to manually request to perform sign-in unless the automatic sign-in attempt failed and your game requires access to Play Games Services.

Last updated