header('x-app-id')); $broadcaster = $this->getPusherBroadcaster([ 'key' => $app->key, 'secret' => $app->secret, 'id' =>$app->id, ]); /* * Since the dashboard itself is already secured by the * Authorize middleware, we can trust all channel * authentication requests in here. */ return $broadcaster->validAuthenticationResponse($request, []); } }