/** * Returns the storage handler * * Non-persistent storage is used by default unless a different storage adapter has been set. * * @return Storage\StorageInterface */ public function getStorage() { if (null === $this->storage) { $this->setStorage(new \Zend\Authentication\Storage\NonPersistent()); } return parent::getStorage(); }