{% extends "dashboard/base.html" %} {% block title %}{{ t.oauth_clients }}{% endblock %} {% block page_title %}{{ t.oauth_clients }}{% endblock %} {% block content %}

{% if lang == 'fa' %} مدیریت کلاینت‌های OAuth برای دسترسی امن به API {% else %} Manage OAuth clients for secure API access {% endif %}

{% if lang == 'fa' %}کل کلاینت‌ها{% else %}Total Clients{% endif %}

{{ total_count }}

{% if lang == 'fa' %}کلاینت‌های فعال{% else %}Active Clients{% endif %}

{{ total_count }}

{% if lang == 'fa' %}پروتکل{% else %}Protocol{% endif %}

OAuth 2.1

{% if clients %} {% for client in clients %} {% endfor %} {% else %} {% endif %}
{% if lang == 'fa' %}نام کلاینت{% else %}Client Name{% endif %} {% if lang == 'fa' %}شناسه کلاینت{% else %}Client ID{% endif %} {% if lang == 'fa' %}دامنه‌ها{% else %}Scopes{% endif %} {% if lang == 'fa' %}تاریخ ایجاد{% else %}Created{% endif %} {% if lang == 'fa' %}عملیات{% else %}Actions{% endif %}
{{ client.client_name }} {{ client.client_id[:30] }}...
{% for scope in client.allowed_scopes %} {{ scope }} {% endfor %}
{{ client.created_at[:10] if client.created_at else '-' }}

{% if lang == 'fa' %}هیچ کلاینت OAuth ثبت نشده{% else %}No OAuth clients registered{% endif %}

{% endblock %} {% block scripts %} {% endblock %}