Changes for page DigDash API REST
Last modified by Aurelie Bertrand on 2025/03/25 16:13
From version 45.1
edited by Aurelie Bertrand
on 2024/08/30 09:51
on 2024/08/30 09:51
Change comment:
There is no comment for this version
To version 40.1
edited by Aurelie Bertrand
on 2024/08/30 09:29
on 2024/08/30 09:29
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -56,13 +56,13 @@ 56 56 ℹ Il n'est pas possible de créer un jeton de sécurité (JWT) quand authentifié avec un jeton de sécurité (JWT). 57 57 ))) 58 58 59 -== S'authentifiervia BasicAuth ==59 +== Authentification via BasicAuth == 60 60 61 61 1. Entrez votre nom d'utilisateur et mot de passe Digdash. 62 62 1. Cliquez sur le bouton **Authorize** puis, une fois l'authentification effectuée, sur **Close**. 63 63 ➡ Le cadenas est à présent fermé, signifiant que vous êtes autorisé. 64 64 65 -== Cré erlejeton de sécurité ==65 +== Création du jeton de sécurité == 66 66 67 67 Nous allons créer ici le jeton de sécurité Json Web Token (JWT) : 68 68 ... ... @@ -111,7 +111,7 @@ 111 111 openssl rsa -in /path/to/privatekey.pem -pubout -out /path/to/publickey.crt 112 112 {{/code}} 113 113 114 -== S'authentifiervia BearerAuth ==114 +== Authentification via BearerAuth == 115 115 116 116 (% class="wikigeneratedid" id="HUnefoislejetondesE9curitE9gE9nE9rE92CvouspouvezvousauthentifieraveccettemE9thode:" %) 117 117 (% style="font-size:14px" %)Une fois le jeton de sécurité généré, vous pouvez vous authentifier avec cette méthode : ... ... @@ -176,17 +176,9 @@ 176 176 = Expiration et révocation de l'authentification = 177 177 178 178 (% style="line-height:1.7142857142857142; background-color:#ffffff" %) 179 -(% style="color:#182027; font-family:Arial,sans-serif; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Lorsque le jeton de sécurité (JWT) expire, vous recevez une réponse (% style="color:#182027; font-family:~"Roboto Mono~",monospace; font-size:10pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)401:(%%) "Unauthorized". 180 -(% style="color:#182027; font-family:Arial,sans-serif; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)L'en-tête d'autorisation du porteur est toujours présent pour vos demandes, mais le jeton a expiré. Lorsque cela se produit, vous devez invalider le jeton expiré et générer un nouveau jeton d'accès. 179 +(% style="color:#182027; font-family:Arial,sans-serif; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Lorsque le jeton d'accès expire, vous recevez une réponse (% style="color:#182027; font-family:~"Roboto Mono~",monospace; font-size:10pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)401:(%%) "Unauthorized". 181 181 182 182 (% style="line-height:1.7142857142857142; background-color:#ffffff" %) 183 - De même l(% style="font-size:.5pt; font-variant: normal; white-space: pre-wrap;font-family:color: rgb(24, 32, 39);font-weight:400; font-style: normal; text-decoration:quevousavezterminédetravailleravecl'interfaceSwagger, vous devez invalider le jetond'accèsquevousavezutilisé.182 +(% style="color:#182027; font-family:Arial,sans-serif; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)L'en-tête d'autorisation du porteur est toujours présent pour vos demandes, mais le jeton d'accès a expiré. Lorsque cela se produit, vous devez invalider le jeton expiré et générer un nouveau jeton d'accès : 184 184 185 -(% style="line-height:1.7142857142857142; background-color:#ffffff" %) 186 -(% style="color:#182027; font-family:Arial,sans-serif; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Pour invalider le jeton de sécurité : 187 - 188 -1. (% style="color:#182027; font-family:Arial,sans-serif; font-size:10.5pt; font-style:normal; font-variant:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Cliquez sur le bouton **Authorize** pour ouvrir la fenêtre **Available authorizations**. 189 -1. Cliquez sur le bouton **Logout** en dessous de** BearerAuth**. 190 -1. Cliquez sur** Close** pour **Fermer**. 191 - 192 192