username = $username; $this->password = $password; } /** * Obtain the username and password combined for authentication. * @return string */ function get_auth() { return $this->username . ':' . $this->password; } /** * Obtain the username * @return string */ function get_username() { return $this->username; } /** * Obtain the password * @return string */ function get_password() { return $this->password; } } ?>