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