summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Authenticator.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-14 20:49:31 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-07-14 20:49:31 +0200
commit4e24f711abd3d6a93f01ee7c297eb67c8aedbd37 (patch)
tree8b9c4ada0a310717932fcbeda10e0d4f8cc5d8bc /src/Protocol/Authenticator.h
parentOnly one instance of server can be started (diff)
downloadcuberite-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 '')
-rw-r--r--src/Protocol/Authenticator.h5
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);
};