/home/techb158/ileadtechnology.com/SSM/vendor/tymon/jwt-auth/src/Http/Middleware
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/tymon/jwt-auth/src/Http/Middleware/Authenticate.php (714B)
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Tymon\JWTAuth\Http\Middleware;
use Closure;
class Authenticate extends BaseMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
*
* @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException
*
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->authenticate($request);
return $next($request);
}
}