From 0f8268c93e6210d368f9dcd1900274871a9eacdf Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 30 Apr 2017 09:16:55 +0200 Subject: Add client_credentials as grant_type Therefore, username and password are no longer needed Signed-off-by: Thomas Citharel Allow to have global clients, auth through direct token or auth code and bring scopes Signed-off-by: Thomas Citharel fix review Signed-off-by: Thomas Citharel remove redirect uri requirement on specific clients add back password and depreciate it enforce state Signed-off-by: Thomas Citharel Allow apps to register themselves A handful of changes Signed-off-by: Thomas Citharel change timeout values Signed-off-by: Thomas Citharel set access_token lifetime to 1 year and double for refresh_token Signed-off-by: Thomas Citharel --- .../Resources/translations/messages.oc.yml | 44 ++++++++++++++++------ 1 file changed, 32 insertions(+), 12 deletions(-) (limited to 'src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml') diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml index c172a0f6..ea05fc4c 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml @@ -445,31 +445,38 @@ import: developer: page_title: 'Gestion dels clients API' - welcome_message: "Benvenguda sus l'API de wallabag" - documentation: 'Documentacion' - how_to_first_app: 'Cossí crear vòstra primièra aplicacion' - full_documentation: "Veire la documentacion completa de l'API" - list_methods: "Lista dels metòdes de l'API" - clients: - title: 'Clients' + # allow: + # title: 'A new application would like to connect to your account' + # permissions: + # read: + # label: 'Read your data' + # desc: '%name% will be able to access the list and contents of your entries, tags and annotations.' + # write: + # label: 'Edit your data' + # desc: '%name% will be able to edit and manage (including deleting) your entries, tags and annotations.' + # user: + # label: 'Edit your user settings' + # desc: '%name% will be able to manage your user account.' + #featured: + # title: 'Featured apps' + #list: + # title: 'Authorized apps' + old_clients: create_new: 'Crear un novèl client' - existing_clients: title: 'Los clients existents' + list: 'Clients' field_id: 'ID Client' field_secret: 'Clé secreta' - field_uris: 'URLs de redireccion' - field_grant_types: 'Tipe de privilègi acordat' no_client: 'Pas cap de client pel moment.' remove: warn_message_1: 'Avètz la possibilitat de supriimr un client. Aquesta accion es IRREVERSIBLA !' warn_message_2: "Se suprimissètz un client, totas las aplicacions que l'emplegan foncionaràn pas mai amb vòstre compte wallabag." action: 'Suprimir aqueste client' - client: + old_client: page_title: 'Gestion dels clients API > Novèl client' page_description: "Anatz crear un novèl client. Mercés de garnir l'url de redireccion cap a vòstra aplicacion." form: name_label: "Nom del client" - redirect_uris_label: 'URLs de redireccion' save_label: 'Crear un novèl client' action_back: 'Retorn' client_parameter: @@ -492,6 +499,19 @@ developer: paragraph_7: "Aquesta requèsta tornarà totes los articles de l'utilizaire." paragraph_8: "Se volètz totas las adreças d'accès de l'API, donatz un còp d’uèlh a la documentacion de l'API." back: 'Retorn' + parameters: + page_title: 'Gestion dels clients API > Los paramètres de vòstre client' + page_description: 'Vaquí los paramètres de vòstre client.' + field_name: 'Nom del client' + field_id: 'ID Client' + field_secret: 'Clau secreta' + back: 'Retour' + # app: + # created_at: 'Created at: %date%' + documentation: + title: 'Documentacion' + full_documentation: "Veire la documentacion completa de l'API" + list_methods: "Lista dels metòdes de l'API" user: page_title: 'Gestion dels utilizaires' -- cgit v1.2.3