mirror of
https://github.com/MeexReay/minceraftOS.git
synced 2025-06-24 18:43:00 +03:00
37 lines
511 B
C++
37 lines
511 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include "QObjectPtr.h"
|
|
#include <QDateTime>
|
|
#include <QSet>
|
|
#include <QProcess>
|
|
#include <QDebug>
|
|
|
|
#include "BaseAuthProvider.h"
|
|
|
|
class MojangAuthProvider : public BaseAuthProvider
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QString id()
|
|
{
|
|
return "mojang";
|
|
}
|
|
|
|
QString displayName()
|
|
{
|
|
return "Mojang";
|
|
};
|
|
|
|
QString authEndpoint()
|
|
{
|
|
return "https://authserver.mojang.com/";
|
|
};
|
|
|
|
bool canChangeSkin()
|
|
{
|
|
return true;
|
|
};
|
|
};
|