{% set pagetitle = 'Authentication status'|trans %} {% extends 'base.twig' %} {% block content %}

{{ pagetitle }}

{% trans %}Hi, this is the status page of SimpleSAMLphp. Here you can see if your session is timed out, how long it lasts until it times out and all the attributes that are attached to your session.{% endtrans %}

{% if remaining %}

{% trans %}Your session is valid for {{ remaining }} seconds from now.{% endtrans %}

{% endif %}

{{ 'Your attributes'|trans }}

{% set items = attributes %} {% embed '_table.twig' -%} {% block namecol -%} {% set translated = name|trans %} {% if translated != name %} {{ translated }}
{% endif %} {{ name }} {% endblock %} {% block value -%} {% if name =='jpegPhoto'-%} {% else %}{{ value }}{% endif -%} {% endblock %} {%- endembed %} {% if nameid %}

{{ 'SAML Subject'|trans }}

{% set items = {'NameId' : nameid.value} %} {% if not nameid.value %} {% set items = items|merge({'NameID' : 'not set'|trans}) %} {% endif %} {% if nameid.Format %} {% set items = items|merge({('Format'|trans) : nameid.Format}) %} {% endif %} {% if nameid.NameQualifier %} {% set items = items|merge({'NameQualifier' : nameid.NameQualifier}) %} {% endif %} {% if nameid.SPNameQualifier %} {% set items = items|merge({'SPNameQualifier' : nameid.SPNameQualifier}) %} {% endif %} {% if nameid.SPProvidedID %} {% set items = items|merge({'SPProvidedID' : nameid.SPProvidedID}) %} {% endif %} {% for name, value in items %} {% endfor %}
{{ name }} {{ value }}

{% endif %}
{% trans %}Debug information to be used by your support staff{% endtrans %}
{%- embed "includes/expander.twig" %} {%- block content %}
{% trans %}Tracking number{% endtrans %}
{{ trackid }}
{%- if authData %}
{% trans %}Information about your current session{% endtrans %}
{{- authData|json_encode(constant('JSON_UNESCAPED_SLASHES') b-or constant('JSON_PRETTY_PRINT')) |raw -}}
{%- endif %}
{%- endblock content %} {%- endembed %}

{% if logout is defined %}

{% trans %}Logout{% endtrans %}

{{ logout }}

{% endif %} {% if logouturl is defined %}
{{ 'Logout'|trans }}
{% endif %} {% endblock %}