Laravel - Broadcasting - Authorization Callback Authentication

Private and presence broadcast channels authenticate the current user via your application's default authentication guard. If the user is not authenticated, channel authorization is automatically denied and the authorization callback is never executed. However, you may assign multiple, custom guards that should authenticate the incoming request if necessary:

    
    Broadcast::channel('channel', function () {
        // ...
    }, ['guards' => ['web', 'admin']]);