summaryrefslogtreecommitdiffstats
path: root/docs/html/training/id-auth/index.jd
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2011-12-15 10:07:03 -0800
committerScott Main <smain@google.com>2011-12-15 10:07:03 -0800
commitf9cca66e8b4acbc8d50713b4ed4b92d8274285c1 (patch)
tree23532edebea1148ac3e63c77c5cbe523215cd2d4 /docs/html/training/id-auth/index.jd
parent56a3e326192c7496b67666b29071dc9f38c59da9 (diff)
downloadframeworks_base-f9cca66e8b4acbc8d50713b4ed4b92d8274285c1.zip
frameworks_base-f9cca66e8b4acbc8d50713b4ed4b92d8274285c1.tar.gz
frameworks_base-f9cca66e8b4acbc8d50713b4ed4b92d8274285c1.tar.bz2
Docs: Training class on Identifying and Authenticating Users.
Change-Id: Ie2005687ca3baf28d9e01be8c10ee0f6a58a3cc3
Diffstat (limited to 'docs/html/training/id-auth/index.jd')
-rw-r--r--docs/html/training/id-auth/index.jd65
1 files changed, 65 insertions, 0 deletions
diff --git a/docs/html/training/id-auth/index.jd b/docs/html/training/id-auth/index.jd
new file mode 100644
index 0000000..6fbfa65
--- /dev/null
+++ b/docs/html/training/id-auth/index.jd
@@ -0,0 +1,65 @@
+page.title=Identifying and Authenticating Users
+
+trainingnavtop=true
+startpage=true
+next.title=Identifying Your User
+next.link=identify.html
+
+@jd:body
+
+
+<div id="tb-wrapper">
+<div id="tb">
+
+<h2>Requirements and prerequisites</h2>
+<ul>
+ <li>Android 2.0 (API level 5) or higher</li>
+ <li>Experience with <a href="{@docRoot}guide/topics/fundamentals/services.html">Services</a></li>
+ <li>Experience with <a href="http://oauth.net/2/">OAuth 2.0</a></li>
+</ul>
+
+<h2>You should also read</h2>
+<ul>
+ <li><a
+href="http://developer.android.com/resources/samples/SampleSyncAdapter/index.html">
+SampleSyncAdapter app</a></li>
+</ul>
+
+</div>
+</div>
+
+
+<p>Android users get attached to their devices and to applications that they
+love. One way to make your application lovable is to make it personal. Android
+devices know who your user is, what services they have access to, and where they
+store your data. With your user's permission, you can use that information to
+make your application a richer, more personal experience.</p>
+
+<p>In this class, you will learn multiple techniques for interacting with your
+user's identity, enabling you to:</p>
+
+<ul>
+<li>Identify the user by detecting and selecting an account
+<li>Authenticate the user to make sure they are who they say they are
+<li>Gain permission to access the user's online data via services like
+the Google APIs
+<li>Add a custom account to the user's device to authenticate your own
+back-end services
+</ul>
+
+
+<h2>Lessons</h2>
+
+<dl>
+ <dt><b><a href="identify.html">Identifying Your User</a></b></dt>
+ <dd>Use {@link android.accounts.AccountManager} to learn the user's account name(s).</dd>
+
+ <dt><b><a href="authenticate.html">Authenticating to OAuth2 Services</a></b></dt>
+ <dd> Use OAuth2 to help users get permission to access web services without needing to type in a
+login name or password. </dd>
+
+ <dt><b><a href="custom_auth.html">Creating a Custom Account Type</a></b></dt>
+ <dd>Add your own account type to the Android Account Manager.</dd>
+
+</dl>
+