summaryrefslogtreecommitdiff
path: root/battleNetApi/include
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-01-25 03:16:23 +0100
committerAotrix <[email protected]>2026-01-25 03:16:23 +0100
commitfeac00e6819a9c9ad640a586d2fabb9e4e43f41e (patch)
treed87ddf9e77d3a2fe3646425f2bea5838ad3b729b /battleNetApi/include
parent9465c64a517181b650c3b476752536ed9c49befb (diff)
renamed some functions
Diffstat (limited to 'battleNetApi/include')
-rw-r--r--battleNetApi/include/token.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/battleNetApi/include/token.hpp b/battleNetApi/include/token.hpp
index 1941ce5..7107eb0 100644
--- a/battleNetApi/include/token.hpp
+++ b/battleNetApi/include/token.hpp
@@ -5,7 +5,7 @@ class Token {
public:
Token(const std::string &iTokenFilePath);
std::string text() const;
- const bool hasTokenExpired() const;
+ const bool hasExpired() const;
void updateToken();
private:
@@ -21,7 +21,7 @@ class Token {
* or if there is no token at all.
*/
std::string generateToken();
- void writeNewTokenToLocalFile(const std::pair<std::string, std::uint64_t> &iToken) const;
+ void writeTokenToLocalFile(const std::pair<std::string, std::uint64_t> &iToken) const;
std::string getTokenFromLocalFile() const;
std::pair<std::string, std::uint64_t> getTokenWithApi() const;
std::chrono::seconds getCurrentTime() const;