| OLD | NEW |
| 1 <h1 id="lab_7_user_identity">Access User's Data</h1> | 1 <h1 id="lab_7_user_identity">Access User's Data</h1> |
| 2 | 2 |
| 3 <p>Most modern applications are attached to the web to synchronize data. When sy
nchronizing data, you need to identify who the user is. | 3 <p>Most modern applications are attached to the web to synchronize data. When sy
nchronizing data, you need to identify who the user is. |
| 4 Chrome Apps come with an <a href="experimental.identity.html">identity API</a> t
hat makes it easy to integrate either with Google accounts or with any other ser
vice that supports OAuth.</p> | 4 Chrome Apps come with an <a href="experimental.identity">identity API</a> that m
akes it easy to integrate either with Google accounts or with any other service
that supports OAuth.</p> |
| 5 | 5 |
| 6 <ol> | 6 <ol> |
| 7 <li> Built in - Google Authenticiation</li> | 7 <li> Built in - Google Authenticiation</li> |
| 8 <li> Third Party Authentication (Twitter, Foursquare, etc.)</li> | 8 <li> Third Party Authentication (Twitter, Foursquare, etc.)</li> |
| 9 </ol> | 9 </ol> |
| 10 | 10 |
| 11 <p class="warning"><b>Warning:</b> | 11 <p class="warning"><b>Warning:</b> |
| 12 Apps with authentication require the experimental permission in the | 12 Apps with authentication require the experimental permission in the |
| 13 <code>manifest.json</code> and, until they came out of experimental state, | 13 <code>manifest.json</code> and, until they came out of experimental state, |
| 14 they cannot be uploaded to the Chrome Web Store. | 14 they cannot be uploaded to the Chrome Web Store. |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 <p>If you get stuck and want to see the app in action, | 173 <p>If you get stuck and want to see the app in action, |
| 174 go to <code>chrome://extensions</code>, | 174 go to <code>chrome://extensions</code>, |
| 175 load the unpacked | 175 load the unpacked |
| 176 <a href="https://github.com/GoogleChrome/chrome-app-codelab/tree/master/lab7_use
ridentification/angularjs">AngularJS app</a> or | 176 <a href="https://github.com/GoogleChrome/chrome-app-codelab/tree/master/lab7_use
ridentification/angularjs">AngularJS app</a> or |
| 177 <a href="https://github.com/GoogleChrome/chrome-app-codelab/tree/master/lab7_use
ridentification/javascript">JavaScript app</a>, | 177 <a href="https://github.com/GoogleChrome/chrome-app-codelab/tree/master/lab7_use
ridentification/javascript">JavaScript app</a>, |
| 178 and launch the app from a new tab.</p> | 178 and launch the app from a new tab.</p> |
| 179 | 179 |
| 180 <h2 id="you_should_also_read">You should also read</h2> | 180 <h2 id="you_should_also_read">You should also read</h2> |
| 181 | 181 |
| 182 <p><a href="app_identity.html">Identify User</a> tutorial</p> | 182 <p><a href="app_identity">Identify User</a> tutorial</p> |
| 183 | 183 |
| 184 <h2 id="what_39_s_next_">What's next?</h2> | 184 <h2 id="what_39_s_next_">What's next?</h2> |
| 185 | 185 |
| 186 <p>In <a href="app_codelab8_webresources.html">7 - Access Web Resources</a>, | 186 <p>In <a href="app_codelab8_webresources">7 - Access Web Resources</a>, |
| 187 you will learn how to load and show images from a remote URL.</p> | 187 you will learn how to load and show images from a remote URL.</p> |
| 188 | 188 |
| 189 <p class="note"><b>Note:</b> Up until now, the code in each lab builds upon the
previous lab code sample. | 189 <p class="note"><b>Note:</b> Up until now, the code in each lab builds upon the
previous lab code sample. |
| 190 We've decided not to include the user identification code changes in the rem
ainder of the lab since the <code>identity API</code> is still experimental and
as such it would prevent you from publishing your final code to the Chrome Web S
tore.</p> | 190 We've decided not to include the user identification code changes in the rem
ainder of the lab since the <code>identity API</code> is still experimental and
as such it would prevent you from publishing your final code to the Chrome Web S
tore.</p> |
| OLD | NEW |