From 4efe071ed66c4ba34c3829afd44b43bcb6b51b7b Mon Sep 17 00:00:00 2001
From: Robert Ly
Date: Fri, 18 Jan 2013 13:33:25 -0800
Subject: docs: update auth doc to mention multiple scopes bug 7644251
Change-Id: I7f0c2e822c306161ae02b11439e5e0095463bcff
---
docs/html/google/play-services/auth.jd | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
(limited to 'docs')
diff --git a/docs/html/google/play-services/auth.jd b/docs/html/google/play-services/auth.jd
index 3f46c3f..8e11131 100644
--- a/docs/html/google/play-services/auth.jd
+++ b/docs/html/google/play-services/auth.jd
@@ -57,7 +57,12 @@ private String[] getAccountNames() {
Obtaining an Access Token
- With an email address, you can now obtain an access token. There are two general
+ With an email address and the service scope you can now obtain an access token.
+
+Note: Specify "oauth2:scope"
for a single scope or
+ "oauth2:scope1 scope2 scope3"
for multiple scopes.
+
+There are two general
ways to get a token:
@@ -73,6 +78,7 @@ private String[] getAccountNames() {
Using getToken()
The following code snippet obtains an access token with an email address, the scope that you want to use for the service, and a {@link android.content.Context}:
+
HelloActivity mActivity;
String mEmail;
--
cgit v1.1