mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-24 12:32:42 +00:00
* Add injector * Add uuid generation for profile * Add auth server emulator * Start auth server on random port and bypass it to injector * Run injector only when account type is dummy * Clean authlib injector * Add ely by authentication * Remove old comments * Add response status text to auth server * Fix json value access as done by @maximmasterr
21 lines
346 B
C++
21 lines
346 B
C++
#pragma once
|
|
|
|
#include <QString>
|
|
#include <QTcpServer>
|
|
#include "settings/SettingsObject.h"
|
|
#include "multimc_logic_export.h"
|
|
|
|
class MULTIMC_LOGIC_EXPORT AuthServer: public QObject
|
|
{
|
|
public:
|
|
explicit AuthServer(QObject *parent = 0);
|
|
|
|
quint16 port();
|
|
|
|
private:
|
|
void newConnection();
|
|
|
|
private:
|
|
std::shared_ptr<QTcpServer> m_tcpServer;
|
|
};
|