#include <IdentityLeakConfig.hpp>
Static Public Member Functions | |
| static std::string | hibpApiKey () |
| static void | setHibpApiKey (const std::string &) |
| static std::string | leakCheckApiKey () |
| static void | setLeakCheckApiKey (const std::string &) |
| static bool | monitorEnabled () |
| static void | setMonitorEnabled (bool) |
Static Private Member Functions | |
| static std::string | configPath () |
| static nlohmann::json | loadJson () |
| static void | saveJson (const nlohmann::json &j) |
Definition at line 26 of file IdentityLeakConfig.hpp.
|
staticprivate |
Definition at line 34 of file IdentityLeakConfig.cpp.
References CONFIG_DIR, and CONFIG_FILE.
Referenced by loadJson(), and saveJson().
|
static |
Definition at line 69 of file IdentityLeakConfig.cpp.
References loadJson().
Referenced by IdentityLeakPage::IdentityLeakPage(), LeakMonitor::loop(), and LeakCheckWorker::run().
|
static |
Definition at line 82 of file IdentityLeakConfig.cpp.
References loadJson().
Referenced by IdentityLeakPage::IdentityLeakPage().
|
staticprivate |
Definition at line 48 of file IdentityLeakConfig.cpp.
References configPath().
Referenced by hibpApiKey(), leakCheckApiKey(), monitorEnabled(), setHibpApiKey(), setLeakCheckApiKey(), and setMonitorEnabled().
|
static |
Definition at line 96 of file IdentityLeakConfig.cpp.
References loadJson().
Referenced by IdentityLeakPage::IdentityLeakPage(), and IdentityLeakPage::onCheckClicked().
|
staticprivate |
Definition at line 63 of file IdentityLeakConfig.cpp.
References configPath().
Referenced by setHibpApiKey(), setLeakCheckApiKey(), and setMonitorEnabled().
|
static |
Definition at line 75 of file IdentityLeakConfig.cpp.
References loadJson(), and saveJson().
Referenced by IdentityLeakPage::onSaveHibpApi().
|
static |
Definition at line 88 of file IdentityLeakConfig.cpp.
References loadJson(), and saveJson().
Referenced by IdentityLeakPage::onSaveLeakCheckApi().
|
static |
Definition at line 102 of file IdentityLeakConfig.cpp.
References loadJson(), and saveJson().
Referenced by IdentityLeakPage::onMonitorToggled().