aboutsummaryrefslogtreecommitdiff
path: root/views/xrds/openid_server/profile.php
diff options
context:
space:
mode:
authorroot <root@ops.vz.lan>2012-11-05 08:26:23 +0000
committerroot <root@ops.vz.lan>2012-11-05 08:26:23 +0000
commita40dbdd3f9fb0032e935d77f369b574c0088be70 (patch)
tree4fc5dbe42a12fc3cdc74a05abd6b0b5eeb5fb99e /views/xrds/openid_server/profile.php
parent084db9e6b9fc402e5643efda4dc076099921b16b (diff)
downloadelgg-a40dbdd3f9fb0032e935d77f369b574c0088be70.tar.gz
elgg-a40dbdd3f9fb0032e935d77f369b574c0088be70.tar.bz2
profile xrds for openid
Diffstat (limited to 'views/xrds/openid_server/profile.php')
-rw-r--r--views/xrds/openid_server/profile.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/xrds/openid_server/profile.php b/views/xrds/openid_server/profile.php
new file mode 100644
index 000000000..9b34a6b7b
--- /dev/null
+++ b/views/xrds/openid_server/profile.php
@@ -0,0 +1,11 @@
+<?php
+ /*
+ XRDS info to validate delegated identities
+ */
+ $user = elgg_get_page_owner_entity();
+?>
+ <Service priority="0">
+ <Type>http://specs.openid.net/auth/2.0/signon</Type>
+ <LocalID><?php echo $vars['url']; ?>mod/openid_server/server.php</LocalID>
+ <URI><?php echo $vars['url']; ?>mod/openid_server/server.php</URI>
+ </Service>