how authentication sanctum with endpoint laravel api code example
Example: sanctum laravel
php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"
php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"