AuthScope
Stay organized with collections
Save and categorize content based on your preferences.
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
From class java.lang.Enum
final Object
|
clone()
|
final int |
|
int |
|
final Optional<EnumDesc<AuthScope>>
|
describeConstable()
|
final boolean |
|
final void |
finalize()
|
final Class<AuthScope>
|
getDeclaringClass()
|
final int |
hashCode()
|
final String
|
name()
|
final int |
ordinal()
|
String
|
toString()
|
static <T extends Enum<T>>
T
|
|
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
From interface java.lang.constant.Constable
abstract Optional<? extends ConstantDesc>
|
describeConstable()
|
From interface java.lang.Comparable
Enum Values
public static final AuthScope
EMAIL
See your primary Google Account email address.
public static final AuthScope
OPEN_ID
Associate you with your personal info on Google.
public static final AuthScope
PROFILE
See your personal info, including any personal info you've made publicly
available.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-23 UTC."],[],[]]