| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 187 |
| 188 <h2 id="sample-code">Sample code</h2> | 188 <h2 id="sample-code">Sample code</h2> |
| 189 | 189 |
| 190 <p> | 190 <p> |
| 191 Sample extensions that use these techniques are available in the Chromium source
tree: | 191 Sample extensions that use these techniques are available in the Chromium source
tree: |
| 192 </p> | 192 </p> |
| 193 | 193 |
| 194 <ul> | 194 <ul> |
| 195 <li><a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/exten
sions/docs/examples/extensions/gdocs/">.../examples/extensions/gdocs/</a></li> | 195 <li><a href="http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/exten
sions/docs/examples/extensions/gdocs/">.../examples/extensions/gdocs/</a></li> |
| 196 <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> | 196 <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> |
| 197 </ul> | 197 </ul> |
| 198 | |
| OLD | NEW |