| OLD | NEW |
| 1 <div id="pageData-name" class="pageData">Tutorial: OAuth</div> | 1 <h1>Tutorial: OAuth</h1> |
| 2 <div id="pageData-showTOC" class="pageData">true</div> | 2 |
| 3 | 3 |
| 4 <p> | 4 <p> |
| 5 <a href="http://oauth.net/">OAuth</a> is an open protocol that aims to standardi
ze the way desktop and web applications access a user's private data. OAuth prov
ides a mechanism for users to grant access to private data without sharing their
private credentials (username/password). Many sites have started enabling APIs
to use OAuth because of its security and standard set of libraries. | 5 <a href="http://oauth.net/">OAuth</a> is an open protocol that aims to standardi
ze the way desktop and web applications access a user's private data. OAuth prov
ides a mechanism for users to grant access to private data without sharing their
private credentials (username/password). Many sites have started enabling APIs
to use OAuth because of its security and standard set of libraries. |
| 6 </p> | 6 </p> |
| 7 <p> | 7 <p> |
| 8 This tutorial will walk you through the necessary steps for creating a Google Ch
rome Extension that uses OAuth to access an API. It leverages a library that you
can reuse in your extensions. | 8 This tutorial will walk you through the necessary steps for creating a Google Ch
rome Extension that uses OAuth to access an API. It leverages a library that you
can reuse in your extensions. |
| 9 </p> | 9 </p> |
| 10 <p> | 10 <p> |
| 11 This tutorial uses the <a href="http://code.google.com/apis/documents/">Google D
ocuments List Data API</a> as an example OAuth-enabled API endpoint. | 11 This tutorial uses the <a href="http://code.google.com/apis/documents/">Google D
ocuments List Data API</a> as an example OAuth-enabled API endpoint. |
| 12 </p> | 12 </p> |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 | 205 |
| 206 <h2 id="sample-code">Sample code</h2> | 206 <h2 id="sample-code">Sample code</h2> |
| 207 | 207 |
| 208 <p> | 208 <p> |
| 209 Sample extensions that use these techniques are available in the Chromium source
tree: | 209 Sample extensions that use these techniques are available in the Chromium source
tree: |
| 210 </p> | 210 </p> |
| 211 | 211 |
| 212 <ul> | 212 <ul> |
| 213 <li><a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/exten
sions/docs/examples/extensions/gdocs/">.../examples/extensions/gdocs/</a></li> | 213 <li><a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/exten
sions/docs/examples/extensions/gdocs/">.../examples/extensions/gdocs/</a></li> |
| 214 <li><a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/exten
sions/docs/examples/extensions/oauth_contacts/">.../examples/extensions/oauth_co
ntacts/</a></li> | 214 <li><a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/exten
sions/docs/examples/extensions/oauth_contacts/">.../examples/extensions/oauth_co
ntacts/</a></li> |
| 215 </ul> | 215 </ul> |
| 216 | |
| OLD | NEW |