src/Controller/Component/AuthenticationComponent.php
public function beforeFilter()
    {
        $authentication = $this->getAuthenticationService();
        $provider = $authentication->getAuthenticationProvider();

        if ($provider === null ||
            $provider instanceof PersistenceInterface ||
            $provider instanceof StatelessInterface
        ) {
            return;
        }

        $this->dispatchEvent('Authentication.afterIdentify', [
            'provider' => $provider,
            'identity' => $this->getIdentity(),
            'service' => $authentication
        ], $this->getController());
    }
public function beforeFilter()
    {
        $authentication = $this->getAuthenticationService();
        $provider = $authentication->getAuthenticationProvider();

        if ($provider === null ||
            $provider instanceof PersistenceInterface ||
            $provider instanceof StatelessInterface
        ) {
            return;
        }

        $this->dispatchEvent('Authentication.afterIdentify', [
            'provider' => $provider,
            'identity' => $this->getIdentity(),
            'service' => $authentication
        ], $this->getController());
    }
public function beforeFilter ( ) { $ authentication = $ this -> getAuthenticationService ( ) ; $ provider = $ authentication -> getAuthenticationProvider ( ) ; if ( $ provider === null || $ provider instanceof PersistenceInterface || $ provider instanceof StatelessInterface ) { return ; } $ this -> dispatchEvent ( 'Authentication.afterIdentify' , [ 'provider' => $ provider , 'identity' => $ this -> getIdentity ( ) , 'service' => $ authentication ] , $ this -> getController ( ) ) ; }
Triggers the Authentication.afterIdentify event for non stateless adapters that are not persistent either

@return void
Triggers the Authentication . afterIdentify event for non stateless adapters that are not persistent either