title: Laravel - What is the usage of broadcasting/auth when we can authenticate user in channel?
body: <pre><code>class BroadcastServiceProvider extends ServiceProvider
  {
      public function boot()
      {
          Broadcast::routes();
  
          require base_path('routes/channels.php');
      }
  }
  </code></pre>
  
  <p>What is the usage of <code>Broadcast::routes()</code> when <code>require base_path('routes/channels.php')</code> is authenticating user with this code <code>return (int) $user-&gt;user_id === (int) $userId;</code> in <code>routes/channels.php</code>?</p>