diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-14 20:49:31 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-14 20:49:31 +0200 |
commit | 4e24f711abd3d6a93f01ee7c297eb67c8aedbd37 (patch) | |
tree | 8b9c4ada0a310717932fcbeda10e0d4f8cc5d8bc /src/Protocol/Authenticator.h | |
parent | Only one instance of server can be started (diff) | |
download | cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.gz cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.bz2 cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.lz cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.xz cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.zst cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.zip |
Diffstat (limited to 'src/Protocol/Authenticator.h')
-rw-r--r-- | src/Protocol/Authenticator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Protocol/Authenticator.h b/src/Protocol/Authenticator.h index 211f51394..04fa3e09c 100644 --- a/src/Protocol/Authenticator.h +++ b/src/Protocol/Authenticator.h @@ -73,13 +73,18 @@ private: AString m_Server; AString m_Address; + AString m_PropertiesAddress; bool m_ShouldAuthenticate; /** cIsThread override: */ virtual void Execute(void) override; + bool ConnectSecurelyToAddress(const AString & a_CACerts, const AString & a_ExpectedPeerName, const AString & a_Data, AString & a_Response); + /** Returns true if the user authenticated okay, false on error; iLevel is the recursion deptht (bails out if too deep) */ bool AuthWithYggdrasil(AString & a_UserName, const AString & a_ServerId, AString & a_UUID); + + bool GetPlayerProperties(const AString & a_UUID, AString & a_Properties); }; |