public function handle($request, Closure $next, ...$guards): Response 	{ 		try { 			$this->authenticate($request, $guards === [] ? array_keys(config('auth.guards')) : $guards); 		} catch (AuthenticationException $authenticationException) { 			if (!$request->wantsJson()) { 				throw $authenticationException; 			}  			if (($response = $this->tryBasicAuth()) instanceof Response) { 				return $response; 			} 		} catch (Exception $exception) { 			abort($exception->getCode() === Response::HTTP_FORBIDDEN ? Response::HTTP_FORBIDDEN : Response::HTTP_UNAUTHORIZED, $exception->getMessage()); 		}  		return $next($request); 	}