tymondesigns / jwt-auth

🔐 JSON Web Token Authentication for Laravel & Lumen
https://jwt-auth.com
MIT License
11.24k stars 1.55k forks source link

how to set refresh token ttl dynamically? #2203

Open badazhou opened 1 year ago

badazhou commented 1 year ago

We know that: JWTAuth::factory()->setTTL($myTTL); this setTTL is set access token ttl.

but how to set refresh ttl dynamically?