Token expire time

app\Providers\AuthServiceProvider.php

use Carbon\Carbon;

public function boot()
{
    // ...

    Passport::tokensExpireIn(Carbon::now()->addMinutes(1));
}

Docs

參考資料

results matching ""

    No results matching ""