/** * After a user is authenticated with realme, we attempt to verify the session. * * @return SS_HTTPResponse */ private function realMeACS() { $loggedIn = $this->service->enforceLogin(); if (true === $loggedIn) { return $this->owner->redirect($this->service->getBackURL()); } return Security::permissionFailure($this->owner, _t('RealMeSecurityExtension.LOGINFAILURE', 'Unfortunately we\'re not able to log you in through RealMe right now.')); }