summaryrefslogtreecommitdiffstats
path: root/examples/server/lib/actions.php
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-04-06 17:54:30 +0000
committertailor <cygnus@janrain.com>2007-04-06 17:54:30 +0000
commit44f369a8f26d28e7a1233573c1ab86518129b7d1 (patch)
treee656564e29e6ee9292da7459b81a6a7eb78de21e /examples/server/lib/actions.php
parent14af87b5db19c4ca2fd9a3d2f5b8ea37e13c8fd0 (diff)
downloadphp-openid-44f369a8f26d28e7a1233573c1ab86518129b7d1.zip
php-openid-44f369a8f26d28e7a1233573c1ab86518129b7d1.tar.gz
php-openid-44f369a8f26d28e7a1233573c1ab86518129b7d1.tar.bz2
[project @ Add user-specific XRDS rendering]
Diffstat (limited to 'examples/server/lib/actions.php')
-rw-r--r--examples/server/lib/actions.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/server/lib/actions.php b/examples/server/lib/actions.php
index 94fab77..05c0528 100644
--- a/examples/server/lib/actions.php
+++ b/examples/server/lib/actions.php
@@ -7,6 +7,7 @@ require_once "lib/render.php";
require_once "lib/render/login.php";
require_once "lib/render/idpage.php";
require_once "lib/render/idpXrds.php";
+require_once "lib/render/userXrds.php";
require_once "Auth/OpenID.php";
@@ -148,4 +149,10 @@ function action_idpXrds()
return idpXrds_render();
}
+function action_userXrds()
+{
+ $identity = $_GET['user'];
+ return userXrds_render($identity);
+}
+
?> \ No newline at end of file