summaryrefslogtreecommitdiffstats
path: root/templates/openid/xrds.xml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/openid/xrds.xml')
-rw-r--r--templates/openid/xrds.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/openid/xrds.xml b/templates/openid/xrds.xml
new file mode 100644
index 0000000..86b3e0f
--- /dev/null
+++ b/templates/openid/xrds.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xrds:XRDS xmlns:xrds="xri://$xrds" xmlns="xri://$xrd*($v*2.0)">
+ <XRD>
+ <Service>
+{%- for t in types %}
+ <Type>{{ t }}</Type>
+{%- endfor %}
+{%- if uri %}
+ <URI>{{ uri }}</URI>
+{%- endif %}
+{%- if localid %}
+ <LocalID>{{ localid }}</LocalID>
+{%- endif %}
+ </Service>
+ </XRD>
+</xrds:XRDS>