Laravel JWT Auth get user on Login : <p>Is it possible with <a href="https://github.com/tymondesigns/jwt-auth" rel="noreferrer">https://github.com/tymondesigns/jwt-auth</a> 
to get the <code>current user</code>? Because right now I can only generate a token (when a user sign in). </p>

<pre><code>public function login(Request $request)
{
    $credentials = $request-&gt;only('email', 'password');

    try {
        if (! $token = JWTAuth::attempt($credentials)) {
            return response()-&gt;json(['error' =&gt; 'invalid_credentials'], 401);
        }
    } catch (Tymon\JWTAuth\Exceptions\JWTException $e) {
        return response()-&gt;json(['error' =&gt; 'could_not_create_token'], 500);
    }

    return response()-&gt;json(compact('token'));
}
</code></pre>
