src/Mvc/Controller/Plugin/Authentication.php
public function getAuthenticationAdapter()
    {
        if (null === $this->authenticationAdapter) {
            $authenticationAdapter = $this->getAuthenticationService()->getAdapter();
            $this->setAuthenticationAdapter($authenticationAdapter);
        }

        return $this->authenticationAdapter;
    }
public function getAuthenticationAdapter()
    {
        if (null === $this->authenticationAdapter) {
            $authenticationAdapter = $this->getAuthenticationService()->getAdapter();
            $this->setAuthenticationAdapter($authenticationAdapter);
        }

        return $this->authenticationAdapter;
    }
public function getAuthenticationAdapter ( ) { if ( null === $ this -> authenticationAdapter ) { $ authenticationAdapter = $ this -> getAuthenticationService ( ) -> getAdapter ( ) ; $ this -> setAuthenticationAdapter ( $ authenticationAdapter ) ; } return $ this -> authenticationAdapter ; }
Get authentication adapter

@return AdapterInterface
Get authentication adapter