Key (Chave Única de Acesso)
{ …,
"authType": "Key",
"authPath": "LOGIN”
}[
{
"identifier": "LOGIN",
"serviceConfiguration": {
"protocol": "https",
"url": "api.cliente.br/Login",
"method": "POST",
"header": {
"KEY": "[[USERNAME]]",
...
},
"content-type":
"x-www-form-urlencoded"
}
},
{
//Mapping adicional caso a integração possua refresh token.
"identifier": "REFRESHTOKEN",
"serviceConfiguration": {
"protocol": "https",
"url": "api.cliente.br/Login",
"method": "POST",
"header": {
...
},
"body": {
- campos do formulário -
"refresh_token": "[[REFRESHTOKEN]]"
},
"content-type":
"x-www-form-urlencoded"
}
}
]Atualizado