summaryrefslogtreecommitdiffstats
path: root/templates/authopenid/yadis.xrdf
diff options
context:
space:
mode:
authorMike Chen <chagel@gmail.com>2009-07-05 10:23:30 +0800
committerMike Chen <chagel@gmail.com>2009-07-05 10:23:30 +0800
commit4347c2947834fe7f2edf2b457b2d513454fc6a03 (patch)
tree93e9d22d6fb8a6c882e3915a8511a3ac542a1e67 /templates/authopenid/yadis.xrdf
downloadaskbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.tar.gz
askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.tar.bz2
askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.zip
initiliaze git rep
Diffstat (limited to 'templates/authopenid/yadis.xrdf')
-rw-r--r--templates/authopenid/yadis.xrdf14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/authopenid/yadis.xrdf b/templates/authopenid/yadis.xrdf
new file mode 100644
index 00000000..a9ed44fe
--- /dev/null
+++ b/templates/authopenid/yadis.xrdf
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<xrds:XRDS
+ xmlns:xrds='xri://$xrds'
+ xmlns:openid='http://openid.net/xmlns/1.0'
+ xmlns='xri://$xrd*($v*2.0)'>
+ <XRD>
+ <Service>
+ <Type>http://specs.openid.net/auth/2.0/return_to</Type>
+ {% for uri in return_to %}
+ <URI>{{ uri }}</URI>
+ {% endfor %}
+ </Service>
+ </XRD>
+</xrds:XRDS> \ No newline at end of file