Index: chrome/common/extensions/docs/static/tut_oauth.html |
=================================================================== |
--- chrome/common/extensions/docs/static/tut_oauth.html (revision 132824) |
+++ chrome/common/extensions/docs/static/tut_oauth.html (working copy) |
@@ -86,6 +86,24 @@ |
}); |
</pre> |
+<p> |
+To use the OAuth library, |
+you must declare the "tabs" permision in the |
+<a href="http://code.google.com/chrome/extensions/manifest.html">extension manifest</a>. |
+You must also declare the sites you are using |
+including the request URL, the authorize URL, access URL, |
+and, if necessary, the scope URL. |
+For example: |
+</p> |
+ |
+<pre> |
+"permissions": [ "tabs", "https://docs.google.com/feeds/*", |
+ "https://www.google.com/accounts/OAuthGetRequestToken", |
+ "https://www.google.com/accounts/OAuthAuthorizeToken", |
+ "https://www.google.com/accounts/OAuthGetAccessToken" |
+] |
+</pre> |
+ |
<h3 id="request-token">Fetching and authorizing a request token</h3> |
<p> |