Authentification
Génération d'un token d'authentification
POST
auth/generateAuthToken
Récupération d'un token, utilisé, par exemple, pour la consommation de web service ou l'utilisation via une iframe afin de passer l'écran de connexion.
Headers
Name | Type | Description |
---|---|---|
Authorization* | Basic | |
Content-Type* | application/json |
Request Body
Name | Type | Description |
---|---|---|
username* | string | Identifiant de l'utilisateur associé au token (e.g : admin) |
expiration* | integer | Nombre de jours avant expiration du token |
token | String | Si mentionné, vérification de la validité du token. Si ce dernier est expiré, le webservice vous retourne un nouveau token |
Last updated