From 480b523c8e435b1041fec3ef35bcffdb175fb281 Mon Sep 17 00:00:00 2001 From: Bert McMeen Date: Fri, 17 Jun 2016 16:31:01 -0700 Subject: Docs: Update Auth section of API Overview Bug: 28268899 Change-Id: I7e52ae0dd6ea189c28a177cd943b008dc75fda9c --- docs/html/wear/preview/api-overview.jd | 52 ++++++++++++++++------------------ 1 file changed, 24 insertions(+), 28 deletions(-) diff --git a/docs/html/wear/preview/api-overview.jd b/docs/html/wear/preview/api-overview.jd index 543313af1a39..11331a777d62 100644 --- a/docs/html/wear/preview/api-overview.jd +++ b/docs/html/wear/preview/api-overview.jd @@ -4,9 +4,6 @@ page.tags="wear" page.image=images/cards/card-n-apis_2x.png @jd:body - - -

Key developer features

@@ -298,36 +295,35 @@ Multiple Network Connections authentication capabilities will be more powerful; apps will have new ways to authenticate.

-

Authentication tokens can be passed over the Wearable Data Layer

- -

For Android-paired watches (only), the phone will securely transfer authentication - data to a watch app via the - - Wearable Data Layer API. The data can be transferred as - Messages or Data Items.

- -

If your watch app needs to determine if your phone app is installed, you can -advertise a capability on the phone app and retrieve the capability on the watch. - For more information, see following sections of - - Sending and Receiving Messages: -

    -
  • Advertise Capabilities
  • -
  • Retrieve the Nodes with the Required Capabilities
  • -

Users can enter a username and password on a watch

-

Google Keyboard will be standard on Android Wear, allowing for direct text entry. - This feature will work as expected with standard - - EditText widgets. For passwords, the {@code textPassword} attribute will be - used. +

Google Keyboard will be standard on Android Wear, allowing for direct text +entry. This feature will work as expected with standard +EditText widgets. +For passwords, the {@code textPassword} attribute will be used.

Utilizing Account Manager

-Android Wear will include the + +

Android Wear will include the + AccountManager, which will be accessible for syncing and storing account - data, as it is on an Android phone. -

+data, as it is on an Android phone.

+

Authentication tokens can be passed over the Wearable Data Layer

+

For Android-paired watches (only), a phone securely +transfers authentication credentials to a watch app via the + +Wearable Data Layer API. The credentials can be transferred as +messages or data items.

+

If your watch app needs to determine if your phone app is installed, you can +advertise a capability on the phone app and retrieve the capability on the +watch. For more information, see the following sections of + +Sending and Receiving Messages:

+ +
    +
  • Advertise Capabilities
  • +
  • Retrieve the Nodes with the Required Capabilities
  • +
-- cgit v1.2.3-59-g8ed1b