{% extends "themis/base.html" %} {% load humanize %} {% block title %}{{ token.name }} — {{ themis_app_name }}{% endblock %} {% block content %}

{{ token.name }}

Edit {% if token.is_active %}
{% csrf_token %}
{% endif %}
{% csrf_token %}
Token ID
{{ token.get_masked_token }}
Status
{% if token.is_valid %} Active {% elif not token.is_active %} Revoked {% else %} Expired {% endif %}
{% if token.expires_at %}
Expires
{{ token.expires_at }}
{% endif %}
Last Used
{% if token.last_used_at %} {{ token.last_used_at }} ({{ token.last_used_at|naturaltime }}) {% else %} Never {% endif %}
Created
{{ token.created_at }}

Allowed Tools

{% if token.allowed_tools %}
{% for tool in token.allowed_tools %} {{ tool }} {% endfor %}
{% else %}

All tools permitted.

{% endif %}
← Back to Tokens
{% endblock %}