public function authenticate(FilterUserResponseEvent $event, $eventName, EventDispatcherInterface $dispatcher)
    {
        try {
            $this->loginManager->logInUser($this->firewallName, $event->getUser(), $event->getResponse());

            $dispatcher->dispatch(Events::SECURITY_IMPLICIT_LOGIN, new UserEvent($event->getUser(), $event->getRequest()));
        } catch (AccountStatusException $e) {
            // We simply do not authenticate users which do not pass the user
            // checker (not enabled, expired, etc.).
        }
    }
public function authenticate(FilterUserResponseEvent $event, $eventName, EventDispatcherInterface $dispatcher)
    {
        try {
            $this->loginManager->logInUser($this->firewallName, $event->getUser(), $event->getResponse());

            $dispatcher->dispatch(Events::SECURITY_IMPLICIT_LOGIN, new UserEvent($event->getUser(), $event->getRequest()));
        } catch (AccountStatusException $e) {
            // We simply do not authenticate users which do not pass the user
            // checker (not enabled, expired, etc.).
        }
    }
public function authenticate ( FilterUserResponseEvent $ event , $ eventName , EventDispatcherInterface $ dispatcher ) { try { $ this -> loginManager -> logInUser ( $ this -> firewallName , $ event -> getUser ( ) , $ event -> getResponse ( ) ) ; $ dispatcher -> dispatch ( Events :: SECURITY_IMPLICIT_LOGIN , new UserEvent ( $ event -> getUser ( ) , $ event -> getRequest ( ) ) ) ; } catch ( AccountStatusException $ e ) { // We simply do not authenticate users which do not pass the user // checker (not enabled, expired, etc.). } }
Authenticates the user.

@param FilterUserResponseEvent  $event
@param string                   $eventName
@param EventDispatcherInterface $dispatcher
Authenticates the user .