summaryrefslogtreecommitdiff
path: root/subprojects/battleNetApi/include/token.hpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-11-11 18:02:09 +0100
committerAotrix <[email protected]>2025-11-11 18:02:09 +0100
commit832e276e94d4d5a30885e6e352ffdd19f4f16f04 (patch)
treebaee5054a86f2c165d163fcf3231ba98e1246f8c /subprojects/battleNetApi/include/token.hpp
parentea390f7ccf1abda93ebb80faa2bd8a79eb13c8c9 (diff)
added parameters
Diffstat (limited to 'subprojects/battleNetApi/include/token.hpp')
-rw-r--r--subprojects/battleNetApi/include/token.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/battleNetApi/include/token.hpp b/subprojects/battleNetApi/include/token.hpp
index fc5e19a..def5dc2 100644
--- a/subprojects/battleNetApi/include/token.hpp
+++ b/subprojects/battleNetApi/include/token.hpp
@@ -18,7 +18,7 @@ class Token {
void writeTokenToFile(const std::string &iToken) const;
std::string getValidTokenWithApi() const;
std::chrono::seconds getCurrentTime() const;
- std::string extractFirstMatchRegex(const std::string &t_str, const std::string &t_regex) const;
+ std::string extractTokenWithRegex(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);
friend class TokenTests;