diff options
| author | Aotrix <[email protected]> | 2026-01-25 03:16:23 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-01-25 03:16:23 +0100 |
| commit | feac00e6819a9c9ad640a586d2fabb9e4e43f41e (patch) | |
| tree | d87ddf9e77d3a2fe3646425f2bea5838ad3b729b /battleNetApi/include | |
| parent | 9465c64a517181b650c3b476752536ed9c49befb (diff) | |
renamed some functions
Diffstat (limited to 'battleNetApi/include')
| -rw-r--r-- | battleNetApi/include/token.hpp | 4 |
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; |
