private function createAuthenticationMapResult($adapter) { $model = new ViewModel(['authentication' => $adapter]); $model->setTerminal(true); return $model; }