header('x-app-id')); $broadcaster = new PusherBroadcaster(new Pusher( $app->key, $app->secret, $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, []); } }