AI-generated Key Takeaways
-
AuthScope provides type-safe constants for OAuth 2.0 authorization scopes used for server-side access to Play Games Services web APIs.
-
These scopes specify data and functionality permissions requested from the user via a consent screen during the server-side authorization code flow.
-
Including requested scopes in the auth code request prompts user consent, and the AuthResponse indicates which scopes were granted.
-
Examples of AuthScope enum values include EMAIL, OPEN_ID, and PROFILE.
Represents type-safe constants for the specific OAuth 2.0 authorization scopes used when requesting server-side access to Play Games Services web APIs on behalf of a signed-in Play Games player.
These scopes specify the data and functionality permissions (like access to email or profile information) that your server needs and are presented to the user via a consent screen during the server-side authorization code flow.
Including requested scopes in the auth code request prompts the user for consent, and the
resulting AuthResponse
will indicate which of the requested scopes were actually granted.
Inherited Method Summary
Enum Values
public static final AuthScope EMAIL
See your primary Google Account email address.
See Also
public static final AuthScope OPEN_ID
Associate you with your personal info on Google.
See Also
public static final AuthScope PROFILE
See your personal info, including any personal info you've made publicly available.