src/Traits/ApiUser.php
protected function getCurrentUser()
    {
        try {
            return JWTAuth::parseToken()->authenticate();
        } catch (\Tymon\JWTAuth\Exceptions\JWTException $ex) {
            return null;
        }
    }
protected function getCurrentUser()
    {
        try {
            return JWTAuth::parseToken()->authenticate();
        } catch (\Tymon\JWTAuth\Exceptions\JWTException $ex) {
            return null;
        }
    }
Return the current user.

@return \Illuminate\Http\Response