OAuth 2.0 scopes for use with Google Play services. See the specific client methods for details on which scopes are required.
Constant Summary
String | APP_STATE | Scope for using the App State service. |
String | CLOUD_SAVE | Scope for using the CloudSave service. |
String | DRIVE_APPFOLDER | Scope for accessing appfolder files from Google Drive. |
String | DRIVE_FILE | Scope for access user-authorized files from Google Drive. |
String | OAuth 2.0 scope for accessing user's Google account email address. | |
String | FITNESS_ACTIVITY_READ | Scope for read access to activity-related data types in Google Fit. |
String | FITNESS_ACTIVITY_READ_WRITE | Scope for read/write access to activity-related data types in Google Fit. |
String | FITNESS_BODY_READ | Scope for read access to biometric data types in Google Fit. |
String | FITNESS_BODY_READ_WRITE | Scope for read/write access to biometric data types in Google Fit. |
String | FITNESS_LOCATION_READ | Scope for read access to location-related data types in Google Fit. |
String | FITNESS_LOCATION_READ_WRITE | Scope for read/write access to location-related data types in Google Fit. |
String | FITNESS_NUTRITION_READ | Scope for read access to nutrition data types in Google Fit. |
String | FITNESS_NUTRITION_READ_WRITE | Scope for read/write access to nutrition data types in Google Fit. |
String | GAMES | Scope for accessing data from Google Play Games. |
String | PLUS_LOGIN | OAuth 2.0 scope for accessing the user's name, basic profile info, list of people in the user's circles, and writing app activities to Google. |
String | PLUS_ME | This scope was previously named PLUS_PROFILE. |
String | PLUS_MOMENTS | Scope for writing app activities to Google. |
String | PROFILE | OAuth 2.0 scope for accessing user's basic profile information. |
Inherited Method Summary
Constants
public static final String APP_STATE
Scope for using the App State service.
public static final String CLOUD_SAVE
Scope for using the CloudSave service.
public static final String DRIVE_APPFOLDER
Scope for accessing appfolder files from Google Drive.
public static final String DRIVE_FILE
Scope for access user-authorized files from Google Drive.
public static final String EMAIL
OAuth 2.0 scope for accessing user's Google account email address.
public static final String FITNESS_ACTIVITY_READ
Scope for read access to activity-related data types in Google Fit. These include activity type, calories consumed and expended, step counts, and others.
public static final String FITNESS_ACTIVITY_READ_WRITE
Scope for read/write access to activity-related data types in Google Fit. These include activity type, calories consumed and expended, step counts, and others.
public static final String FITNESS_BODY_READ
Scope for read access to biometric data types in Google Fit. These include heart rate, height, and weight.
public static final String FITNESS_BODY_READ_WRITE
Scope for read/write access to biometric data types in Google Fit. These include heart rate, height, and weight.
public static final String FITNESS_LOCATION_READ
Scope for read access to location-related data types in Google Fit. These include location, distance, and speed.
public static final String FITNESS_LOCATION_READ_WRITE
Scope for read/write access to location-related data types in Google Fit. These include location, distance, and speed.
public static final String FITNESS_NUTRITION_READ
Scope for read access to nutrition data types in Google Fit.
public static final String FITNESS_NUTRITION_READ_WRITE
Scope for read/write access to nutrition data types in Google Fit.
public static final String GAMES
Scope for accessing data from Google Play Games.
public static final String PLUS_LOGIN
OAuth 2.0 scope for accessing the user's name, basic profile info, list of people in the user's circles, and writing app activities to Google.
When using this scope, your app will have access to:
- the user's full name, profile picture, Google+ profile ID, age range, and language
- people the user has circled, represented as a list of public profiles
- any other publicly available information on the user's Google+ profile
- write app activities (moments) to Google.
public static final String PLUS_ME
This scope was previously named PLUS_PROFILE.
When using this scope, it does the following:
- It lets you know who the currently authenticated user is by letting you replace a Google+ user ID with "me", which represents the authenticated user, in any call to the Google+ API.
public static final String PLUS_MOMENTS
Scope for writing app activities to Google.
This scope is not necessary if thePLUS_LOGIN
scope is already used.
public static final String PROFILE
OAuth 2.0 scope for accessing user's basic profile information.
When using this scope, it does the following:
- It requests that your app be given access to the authenticated user's basic profile information.
- It lets you know who the currently authenticated user is by letting you replace a Google+ user ID with "me", which represents the authenticated user, in any call to the Google+ API.
- It lets your web app access over-the-air Android app installs.