diff options
| author | Aotrix <[email protected]> | 2025-11-01 22:16:38 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-11-01 22:16:38 +0100 |
| commit | a3b225f2b08172ab3639a4614033396dcae5d764 (patch) | |
| tree | 53296fda6193657d4089853933a0f6f9eb7a77a4 /subprojects/battleNetApi/include/token.hpp | |
| parent | 2d67036e6eede970efb0db5f9793de95093599cd (diff) | |
stop adding timestamp if token is empty
Diffstat (limited to 'subprojects/battleNetApi/include/token.hpp')
| -rw-r--r-- | subprojects/battleNetApi/include/token.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/battleNetApi/include/token.hpp b/subprojects/battleNetApi/include/token.hpp index e135d3f..0b66f53 100644 --- a/subprojects/battleNetApi/include/token.hpp +++ b/subprojects/battleNetApi/include/token.hpp @@ -14,7 +14,7 @@ class Token { void refreshToken() const; void writeNewTokenToFile() const; void writeTokenToFile(const std::string &iToken) const; - std::string getValidTokenWithApi() const; + std::string getValidTokenWithApi(const std::string &iUser, const std::string &iPassword) const; std::chrono::seconds getCurrentTime() const; std::string extractFirstMatchRegex(const std::string &t_str, const std::string &t_regex) const; static size_t curlCallbackStringOutput(void *t_contents, size_t t_size, size_t t_nmemb, std::string *t_s); |
