diff options
Diffstat (limited to 'src/server/authserver/Server/AuthSession.h')
| -rw-r--r-- | src/server/authserver/Server/AuthSession.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/authserver/Server/AuthSession.h b/src/server/authserver/Server/AuthSession.h index 4b848e30428..400d08c5a16 100644 --- a/src/server/authserver/Server/AuthSession.h +++ b/src/server/authserver/Server/AuthSession.h @@ -22,6 +22,7 @@ #include "Common.h" #include "CryptoHash.h" #include "DatabaseEnvFwd.h" +#include "DeadlineTimer.h" #include "Duration.h" #include "Optional.h" #include "Socket.h" @@ -92,11 +93,13 @@ private: void RealmListCallback(PreparedQueryResult result); bool VerifyVersion(std::span<uint8 const> a, Trinity::Crypto::SHA1::Digest const& versionProof, bool isReconnect); + void SetTimeout(); Optional<Trinity::Crypto::SRP6> _srp6; SessionKey _sessionKey = {}; std::array<uint8, 16> _reconnectProof = {}; + Trinity::Asio::DeadlineTimer _timeout; AuthStatus _status; AccountInfo _accountInfo; Optional<std::vector<uint8>> _totpSecret; |
