realm = $realm; $this->request = $request; $this->response = $response; } /** * This method sends the needed HTTP header and statuscode (401) to force * the user to login. * * @return void */ abstract function requireLogin(); /** * Returns the HTTP realm * * @return string */ function getRealm() { return $this->realm; } }