AuthScope

public final enum AuthScope extends Enum<AuthScope>

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.

See Also