🛡️ Authorization provider for OpenCars API.
On each authorization request new message published to the message broker.
{
"kind": "authorization",
"data": {
"enabled": true,
"id": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"ip": "172.18.0.1",
"name": "xxx-xxx",
"status": "succeed",
"timestamp": "2020-03-14T00:43:20"
}
}
{
"kind": "authorization",
"data": {
"enabled": false,
"error": "auth.token.revoked",
"id": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"ip": "172.18.0.1",
"name": "xxx-xxx",
"status": "succeed",
"timestamp": "2020-03-14T00:43:20"
}
}
Project released under the terms of the MIT license.