getUser($server['REMOTE_USER']); } public function getLogonFormParams() : ?array { global $auth; if (isset($auth['remote_user']['login_link'])) { return array( 'action' => $auth['remote_user']['login_link'], 'method' => Form::METHOD_GET, ); } else { return null; } } public function getLogoffFormParams() : ?array { global $auth; if (isset($auth['remote_user']['logout_link'])) { return array( 'action' => $auth['remote_user']['logout_link'], 'method' => Form::METHOD_GET ); } else { return null; } } }