mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-05 14:49:12 +00:00
42 lines
673 B
C++
42 lines
673 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include "QObjectPtr.h"
|
|
#include <QDateTime>
|
|
#include <QSet>
|
|
#include <QProcess>
|
|
#include <QDebug>
|
|
|
|
#include "BaseAuthProvider.h"
|
|
|
|
class ElybyAuthProvider : public BaseAuthProvider
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QString id()
|
|
{
|
|
return "elyby";
|
|
}
|
|
|
|
QString displayName()
|
|
{
|
|
return "Ely.by";
|
|
};
|
|
|
|
QString injectorEndpoint()
|
|
{
|
|
return "ely.by";
|
|
};
|
|
|
|
QString authEndpoint()
|
|
{
|
|
return "https://authserver.ely.by/auth/";
|
|
};
|
|
|
|
QUrl resolveSkinUrl(AccountProfile profile)
|
|
{
|
|
return QUrl(((QString) "http://skinsystem.ely.by/skins/%1.png").arg(profile.name));
|
|
}
|
|
};
|