User Information
{% if data.error %}
Error: {{ data.error }}
{% endif %}
Authentication Status
{% if data.is_authenticated %}
Authenticated
{% else %}
Anonymous User
{% endif %}
{% if data.is_authenticated %}
User Details
User ID |
{{ data.user_id or 'N/A' }} |
Email |
{% if data.email %}
{{ data.email }}
{% else %}
Email not available
{% endif %}
|
User Class |
{{ data.user_class or 'N/A' }} |
Authentication Method |
{{ data.authentication_method or 'Unknown' }}
|
{% if data.firewall %}
Firewall |
{{ data.firewall }} |
{% endif %}
User Roles
{% if data.roles and data.roles|length > 0 %}
{% for role in data.roles %}
{{ role }}
{% endfor %}
{% else %}
No roles assigned to this user.
{% endif %}
{% if data.session_data %}
Session Information
{% for key, value in data.session_data.items() %}
{{ key|title|replace('_', ' ') }} |
{% if value is boolean %}
{{ 'Yes' if value else 'No' }}
{% else %} {{ value }} {% endif %}
|
{% endfor %}
{% endif %} {% else %}
No Authentication
The current request was made by an anonymous user.
{% if data.authentication_method %}
Method: {{ data.authentication_method }}
{% endif %}
💡 Authentication Methods
- JWT Token authentication
- Session-based authentication
- API key authentication
- OAuth integration
{% endif %}