summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herman <davidherman@google.com>2015-05-19 04:12:37 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-05-19 04:12:37 +0000
commitf5ac2c46c9c34aee1ddc911734d8af33853f617d (patch)
tree026067de19bf133e45d9ec35af40c1b4c712aafa
parent277d7486934387d494f854ce71a49fefd95a6b73 (diff)
parent98914dca359a462e5fcfcb676274506009f370b8 (diff)
downloadlogin-master.tar.gz
New scopes for accessing the analytics APIsHEADmastermain
automerge: 98914dc * commit '98914dca359a462e5fcfcb676274506009f370b8': New scopes for accessing the analytics APIs
-rw-r--r--src/com/google/gct/login/OAuthScopeRegistry.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/google/gct/login/OAuthScopeRegistry.java b/src/com/google/gct/login/OAuthScopeRegistry.java
index 82fee39..d5f186e 100644
--- a/src/com/google/gct/login/OAuthScopeRegistry.java
+++ b/src/com/google/gct/login/OAuthScopeRegistry.java
@@ -33,6 +33,9 @@ class OAuthScopeRegistry {
scopes.add("https://www.googleapis.com/auth/appengine.admin");
scopes.add("https://www.googleapis.com/auth/cloud-platform");
scopes.add("https://www.googleapis.com/auth/projecthosting");
+ scopes.add("https://www.googleapis.com/auth/analytics");
+ scopes.add("https://www.googleapis.com/auth/analytics.edit");
+ scopes.add("https://www.googleapis.com/auth/analytics.readonly");
SCOPES = Collections.unmodifiableSortedSet(scopes);
}