From ddf34aa2e69d6c90b4fe95516168254a80eb32f3 Mon Sep 17 00:00:00 2001
From: jsdelfino
Date: Sun, 19 Sep 2010 00:09:52 +0000
Subject: Improvements to the oauth module and support for oauth 1.0a using
liboauth.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998571 13f79535-47bb-0310-9956-ffa450edef68
---
sca-cpp/trunk/modules/oauth/htdocs/index.html | 20 +++++--
.../trunk/modules/oauth/htdocs/login/index.html | 70 ++++++++++++++++------
.../trunk/modules/oauth/htdocs/login/mixed.html | 69 +++++++++++++++------
3 files changed, 118 insertions(+), 41 deletions(-)
(limited to 'sca-cpp/trunk/modules/oauth/htdocs')
diff --git a/sca-cpp/trunk/modules/oauth/htdocs/index.html b/sca-cpp/trunk/modules/oauth/htdocs/index.html
index e6295a93b5..dd75b736db 100644
--- a/sca-cpp/trunk/modules/oauth/htdocs/index.html
+++ b/sca-cpp/trunk/modules/oauth/htdocs/index.html
@@ -25,16 +25,28 @@ var component = new tuscany.sca.Component("Protected");
var userInfo = new tuscany.sca.Reference("userInfo");
var user = userInfo.apply("getuser");
var email = userInfo.apply("getemail");
+var nickname = userInfo.apply("getnickname");
+var fullname = userInfo.apply("getfullname");
+var firstname = userInfo.apply("getfirstname");
+var lastname = userInfo.apply("getlastname");
Protected area - It works!
The following info is returned by a JSONRPC service:
-
-
+User:
+Email:
+Nickname:
+Fullname:
+Firstname:
+Lastname:
User info
Sign in
diff --git a/sca-cpp/trunk/modules/oauth/htdocs/login/index.html b/sca-cpp/trunk/modules/oauth/htdocs/login/index.html
index a8ed099fae..607c55ca18 100644
--- a/sca-cpp/trunk/modules/oauth/htdocs/login/index.html
+++ b/sca-cpp/trunk/modules/oauth/htdocs/login/index.html
@@ -17,7 +17,7 @@
under the License.
-->
-Sign in with an OAuth 2.0 provider
+Sign in with an OAuth provider
-
+
+
-
diff --git a/sca-cpp/trunk/modules/oauth/htdocs/login/mixed.html b/sca-cpp/trunk/modules/oauth/htdocs/login/mixed.html
index 16246cc621..c187aa2a84 100644
--- a/sca-cpp/trunk/modules/oauth/htdocs/login/mixed.html
+++ b/sca-cpp/trunk/modules/oauth/htdocs/login/mixed.html
@@ -17,7 +17,7 @@
under the License.
-->
-Sign in with an OpenID or OAuth 2.0 provider
+Sign in with an OpenID or OAuth provider
@@ -139,20 +160,32 @@ function withGithub() {
-Sign in with your Facebook account
-Sign in with your Github account
+Sign in with your Facebook account
+Sign in with your Github account
+
+Sign in with your Linkedin account
+Sign in with your Twitter account
-
+
+
--
cgit v1.2.3