Laravel Passport Parse Tocken
php artisan passport:client --personal
Itchy Impala
php artisan passport:client --personal
$id = $request->user()->token()->id;
public function details()
{
$user = Auth::user();
return response()->json(['success' => $user], $this->successStatus);
}
User::first()->createToken($name, $scopes);