...
Blocco codice | ||||
---|---|---|---|---|
| ||||
{
"success": true,
"data": {
"id": 1,
"name": "John",
"surname": "Doe",
"email": "user@example.org",
"username": "marko@infordata.it",
"token": "9xx50xx4xx0xx72xx29a89xxdcaxx9cxxdxx67xx",
"creation_date": "2015-06-03 00:00:00",
"update_date": "2018-04-11 17:50:24",
"active": 1,
"deleted": 0,
"number": null,
"bith_date": "0000-00-00",
"tax_code": "",
"pin": null,
"hybridauth_provider_name": "",
"hybridauth_provider_uid": "",
"qualification": null,
"customer_id": 19,
"tipo": null,
"language": "it",
"default_event": 444,
"token": "df788ec509043316885fd69f5d606bd4e9b59a86",
"contact_id": null,
"url_redirect": "/dashboard",
"logo": "ah7PAZIEVwHDr60ZeSs8Is7sV8NLPOLK.png",
"notify": 1,
"frequency": 24,
"use_chat": 1,
"auth_key": "",
"registration_ip": "",
"confirmed_at": null,
"blocked_at": null,
"hash": "5dxUy0qDCtqxLg322PY1XoJvooDmT0OW",
"type": 1
}
} |
Login tramite token
Per eseguire il login tramite token basta accedere direttamente alla route interessata inserendo però l'header authorization con valore "token=xxxxxxxxxxxxxx".
...