finally added session-based authentication and libcurl for https requests. (serverside for right now.)

This commit is contained in:
Matthew Toro 2026-04-03 04:28:52 -04:00
parent e979be42b2
commit 0fa5ae3037
10 changed files with 175 additions and 40 deletions

View file

@ -411,8 +411,7 @@ bool PendingConnection::isDisconnected()
void PendingConnection::initAuth()
{
handshakeManager = new HandshakeManager(true);
handshakeManager->registerModule(new MojangAuthModule());
handshakeManager->registerModule(new ElyByAuthModule());
handshakeManager->registerModule(new SessionAuthModule());
handshakeManager->registerModule(new KeypairOfflineAuthModule());
handshakeManager->registerModule(new OfflineAuthModule());
}