{% extends "rest/_layouts/cp" %} {% set title = "REST"|t %} {% set selectedTab = 'authentications' %} {% set content %} {% if checkDependencies %}
| {{ "Name"|t }} | {{ "Authentication Handle"|t }} | {{ "Status"|t }} | {{ "OAuth Scope"|t }} | {{ "OAuth Authorization Options"|t }} | {{ "OAuth Settings"|t }} | |
|---|---|---|---|---|---|---|
|
{% if authenticationProvider.iconUrl %}
|
{% if oauthProvider.isConfigured %} {{ authenticationProvider.name }} {% else %} {{ authenticationProvider.name }} {% endif %} | {{ authenticationProvider.handle }} | {% if oauthProvider.isConfigured %} {% if authentication and authentication.token %} {{ "Connected"|t }} {% else %} {{ "Not connected"|t }} {% endif %} {% else %} {{ "OAuth provider not configured"|t }} {% endif %} | {{ '{total} permissions'|t({ total: authenticationProvider.scope|length }) }} | {{ '{total} options'|t({ total: authenticationProvider.authorizationOptions|length }) }} |
{{ "REST authentications require the OAuth plugin for Craft CMS."|t }}
{% endif %} {% endset %}