summaryrefslogtreecommitdiffstats
path: root/templates/openid/xrds.xml
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2014-10-06 19:12:13 +0200
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-10-24 18:02:21 +0200
commitf461a713ce28e434a34dca4e4d1abbfe255ef1ff (patch)
tree20e3167cfe3b28e8c7163e661fc757ffd8df228b /templates/openid/xrds.xml
parentc6fab2542f52f6cca71c207c1925785971e51295 (diff)
downloadipsilon-f461a713ce28e434a34dca4e4d1abbfe255ef1ff.tar.gz
ipsilon-f461a713ce28e434a34dca4e4d1abbfe255ef1ff.tar.xz
ipsilon-f461a713ce28e434a34dca4e4d1abbfe255ef1ff.zip
Add OpenIDP Provider
This commit implements all the core functionality needed to expose an OpenID Identity Provider including a framework to dynamycally add extensions. Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com> Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
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>