{
"token": {
"name": "Laravel8PassportAuth",
"abilities": [
"*"
],
"tokenable_id": 4,
"tokenable_type": "App\\Models\\User",
"updated_at": "2021-10-20T10:20:03.000000Z",
"created_at": "2021-10-20T10:20:03.000000Z",
"id": 22
}
}
use Laravel\Sanctum\HasApiTokens;
use Laravel\Passport\HasApiTokens;