diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 21:10:26 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 21:10:26 +0000 |
commit | 1305034e8302fe722ee5048df1cd1a7fa4a6dedf (patch) | |
tree | 6fcba8a96af3a9fdc471a4d28c8b92a60032fede /remoting/webapp/me2mom/choice.html | |
parent | 3813decffb871758bb6e971f9d7456dddf25bde3 (diff) | |
download | chromium_src-1305034e8302fe722ee5048df1cd1a7fa4a6dedf.zip chromium_src-1305034e8302fe722ee5048df1cd1a7fa4a6dedf.tar.gz chromium_src-1305034e8302fe722ee5048df1cd1a7fa4a6dedf.tar.bz2 |
Simple OAuth1 implementation based on http://code.google.com/chrome/extensions/tut_oauth.html.
This copies the files from the extensions example. We're okay with this fork as we will replace this with an OAuth2 handler once the server side is setup correctly.
BUG=none
TEST=manually step through getting/clearing token.
Review URL: http://codereview.chromium.org/7016001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85043 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp/me2mom/choice.html')
-rw-r--r-- | remoting/webapp/me2mom/choice.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/webapp/me2mom/choice.html b/remoting/webapp/me2mom/choice.html index d55298f..01071e8 100644 --- a/remoting/webapp/me2mom/choice.html +++ b/remoting/webapp/me2mom/choice.html @@ -17,9 +17,12 @@ found in the LICENSE file. <!-- Auth panel --> <div id="auth_panel"> + Chromoting OAuth1 Token: <span id="oauth1_status"></span> + <button onclick="authorizeOAuth1();">Authorize</button> + <button onclick="clearOAuth1();">Clear</button > + <br /> <form action=""> XMPP Token: <input type="text" id="xmpp_token" /><br /> - OAuth2 Token: <input type="text" id="oauth2_token" /><br /> <button onclick="saveCredentials(this.form);"> Save Credentials </button> |