summaryrefslogtreecommitdiffstats
path: root/templates/openid/xrds.xml
blob: 86b3e0f849f5f7b153215ef7e481c62a9c1b0e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>