This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/passbook/saml_idp/templates/saml/xml/attributes.xml

15 lines
593 B
XML
Raw Normal View History

2018-11-16 08:10:35 +00:00
<saml:AttributeStatement>
{% for attr in attributes %}
2018-12-26 20:56:08 +00:00
<saml:Attribute {% if attr.FriendlyName %}FriendlyName="{{ attr.FriendlyName }}" {% endif %}Name="{{ attr.Name }}">
{% if attr.Value %}
<saml:AttributeValue>{{ attr.Value }}</saml:AttributeValue>
{% endif %}
{% if attr.ValueArray %}
{% for value in attr.ValueArray %}
<saml:AttributeValue>{{ value }}</saml:AttributeValue>
{% endfor %}
{% endif %}
2018-11-16 08:10:35 +00:00
</saml:Attribute>
{% endfor %}
</saml:AttributeStatement>