code/dispatcher/behavior/authenticatable.php
protected function _beforeDispatch(DispatcherContext $context)
    {
        // Check if the user has been explicitly authenticated for this request
        if (!$this->getUser()->isAuthentic(true))
        {
            foreach($this->__authenticator_queue as $authenticator)
            {
                if($authenticator->authenticateRequest($context) === true) {
                    break;
                }
            }
        }

    }
protected function _beforeDispatch(DispatcherContext $context)
    {
        // Check if the user has been explicitly authenticated for this request
        if (!$this->getUser()->isAuthentic(true))
        {
            foreach($this->__authenticator_queue as $authenticator)
            {
                if($authenticator->authenticateRequest($context) === true) {
                    break;
                }
            }
        }

    }
protected function _beforeDispatch ( DispatcherContext $ context ) { // Check if the user has been explicitly authenticated for this request if ( ! $ this -> getUser ( ) -> isAuthentic ( true ) ) { foreach ( $ this -> __authenticator_queue as $ authenticator ) { if ( $ authenticator -> authenticateRequest ( $ context ) === true ) { break ; } } } }
Authenticate the request

If an authenticator explicitly returns TRUE the authentication process will be halted and other authenticators
will not be called.

@param DispatcherContextInterface $context   A dispatcher context object
@return void
Authenticate the request