{% extends "account/base.html.twig" %} {% block title %} {{ "Client application" | trans }} {% endblock %} {% set selected = "" %} {% block javascript %} {{ parent() }} {% endblock %} {% block content_account %}
Client ID | {{ application.getClientId() }} | |
Client Secret | {{ application.getClientSecret() }} | |
{{ "URL de callback" | trans }} | {% if application.getType() == constant("DESKTOP_TYPE", application) %}{{ application.getRedirectUri() }} | {% else %}{{ application.getRedirectUri() }} | {%endif%}
Authorize endpoint | {{ app["conf"].get("servername") }}api/oauthv2/authorize | |
Access endpoint | {{ app["conf"].get("servername") }}api/oauthv2/token | |
{{ "Activer le grant_type de type password pour votre application" | trans }} | ||
{{ "Define a webhook URL" | trans }}
{{ "Gives the option to your application to communicate with Phraseanet. This webhook can be used to trigger some actions on your application side." | trans }} |
{{ application.getWebhookUrl() }} | |
{{ "developers:: Webhook active" | trans }} |
{{ "Les paramétres oauth de votre application." | trans }}
{{ "Token" | trans }} | {% if not token is none %} {{ token.getOauthToken()|default("") }} {% else %} {{ "Le token n\'a pas encore ete genere" | trans }} {% endif %} {{ "boutton::generer" | trans }} |
{{ "developers:: Select events to trigger this webhook url" | trans }}
{{ "developers:: Events type" | trans }} | {{ "developers:: Events name" | trans }} |
---|---|
{{ webhook_type }} |
|
{{ "Résultats des derniers envois effectués pour cette application" | trans }}
ID | Type | Date | Status code | |
---|---|---|---|---|
{{ delivery.isDelivered ? 'OK' : 'KO' }} | {{ delivery.payload ? delivery.payload.id : '-' }} | {{ delivery.webhookEvent.type }} | {{ delivery.created | date }} | {{ delivery.payload ? delivery.payload.statusCode : '-' }} |