if ($sale->user()->tokenCan('')) { laravel token code example Example: laravel passport php artisan passport:install