{% extends "account/base.html.twig" %} {% block title %} {% trans "Client application" %} {% endblock %} {% set selected = "" %} {% block content_account %}

{% trans "Application" %}

{{ application.get_name() }}
{{ application.get_description() }}

{% trans "settings OAuth" %}

{% trans "Les parametres oauth de votre application." %}

{% if application.get_type() == constant("API_OAuth2_Application::DESKTOP_TYPE") %} {% else %} {%endif%}
Client ID {{ application.get_client_id() }}
Client Secret {{ application.get_client_secret() }}
{% trans "URL de callback" %} {{ application.get_redirect_uri() }} {{ application.get_redirect_uri() }}
Authorize endpoint {{ app["phraseanet.registry"].get("GV_ServerName") }}api/oauthv2/authorize
Access endpoint {{ app["phraseanet.registry"].get("GV_ServerName") }}api/oauthv2/token
{% trans "Activer le grant_type de type password pour votre application" %}

{% trans "Votre token d\'access" %}

{% trans "Les paramétres oauth de votre application." %}

{% trans "Token" %} {% if not token is none %} {{ token|default("") }} {% else %} {% trans "Le token n\'a pas encore ete genere" %} {% endif %} {% trans "boutton::generer" %}
{% trans "boutton::retour" %}
{% endblock %}