/** * @return Auth */ protected function getAuthenticationSession() { if (!$this->authenticationSession instanceof Auth) { $this->authenticationSession = $this->authenticationFactory->newInstance(); } return $this->authenticationSession; }