title: Invalidate JWT Token only after a period of inactivity
body: <p>I'm using <a href="https://github.com/tymondesigns/jwt-auth" rel="nofollow noreferrer">Tymon JWT</a> package in my Laravel project, and I need to invalidate the token of the connected user after 4 hours of inactivity.
  In the config file of the package I can set the <code>TTL</code> time for a token as : <code>'ttl' =&gt; env('JWT_TTL', 240),</code> and the user will be logged out every 4 hours even if he was active, but I only want that to happen if the user wasn't active during the whole 4 hours.</p>