public function authenticate(Request $request)
    {
        if ($request->hasSession()) {
            $request->session()->reflash();
        }

        return Broadcast::auth($request);
    }
public function authenticate(Request $request)
    {
        if ($request->hasSession()) {
            $request->session()->reflash();
        }

        return Broadcast::auth($request);
    }
public function authenticate ( Request $ request ) { if ( $ request -> hasSession ( ) ) { $ request -> session ( ) -> reflash ( ) ; } return Broadcast :: auth ( $ request ) ; }
Authenticate the request for channel access.

@param  \Illuminate\Http\Request  $request
@return \Illuminate\Http\Response
Authenticate the request for channel access .