9#define SERVER_DEFAULT_URL "https://licensehub.digitalwerk.net"
137 std::function<
void(std::
string& host,
int& port)>
ProxyHook() const;
144 std::function<
void(std::
string& user, std::
string& password)>
ProxyAuthHook() const;
263 std::
string m_product, m_product_upcase, m_user, m_home, m_host, m_lickey, m_file, m_server;
264 std::function<
void(std::
string& host,
int& port)> m_proxySetupHook;
265 std::function<
void(std::
string& user, std::
string& password)> m_proxyAuthHook;
std::string_view ProductName(bool upcase=true) const
Get the Product's Name.
Configuration(const std::string &productNameLowerCase)
Create a new object containing licensee environment information.
std::function< void(std::string &user, std::string &password)> ProxyAuthHook() const
Returns proxy authentication hook.
std::string_view UserName() const
Get the User's Name.
std::string_view LicenseServer() const
Get the License Server URL.
std::function< void(std::string &host, int &port)> ProxyHook() const
Returns proxy setup hook.
Configuration(Configuration &&) noexcept
Configuration(const Configuration &)
std::string_view LicenseKey() const
Get the License Key.
Configuration & RedirectErrorLog(std::function< void(const std::string &)> callback)
configure callbacks for logging error messages
Configuration & RedirectInfoLog(std::function< void(const std::string &)> callback)
configure callbacks for logging info messages
std::string_view LicenseFile() const
Get the License File path.
std::string_view UserHomeDirectory() const
Get the User's Home Directory object.
Configuration & RedirectDebugLog(std::function< void(const std::string &)> callback)
configure callbacks for logging info messages
std::string_view HostName() const
Get the Host's Name.