#include <LeakCheckWorker.hpp>
Public Types | |
| using | LogFn = std::function<void(const std::string&)> |
Public Member Functions | |
| LeakCheckWorker (const std::string &email, LogFn logger) | |
| void | run () |
Private Attributes | |
| std::string | |
| LogFn | log |
Definition at line 26 of file LeakCheckWorker.hpp.
| using LeakCheckWorker::LogFn = std::function<void(const std::string&)> |
Definition at line 28 of file LeakCheckWorker.hpp.
| LeakCheckWorker::LeakCheckWorker | ( | const std::string & | email, |
| LogFn | logger ) |
Definition at line 32 of file LeakCheckWorker.cpp.
| void LeakCheckWorker::run | ( | ) |
Definition at line 40 of file LeakCheckWorker.cpp.
References _, LeakAggregator::addProvider(), email, LeakDatabase::ensureIdentity(), IdentityLeakConfig::hibpApiKey(), log, LeakAggregator::queryAll(), and HashUtil::sha256().
Referenced by IdentityLeakPage::onCheckClicked().
|
private |
Definition at line 36 of file LeakCheckWorker.hpp.
Referenced by LeakCheckWorker(), and run().
|
private |
Definition at line 37 of file LeakCheckWorker.hpp.
Referenced by LeakCheckWorker(), and run().