1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 12:47:44 +00:00
astra/launcher/core/include/squarelauncher.h

24 lines
464 B
C
Raw Normal View History

2021-11-01 09:54:58 -04:00
#pragma once
#include "launchercore.h"
2021-11-01 09:54:58 -04:00
class SquareLauncher : public QObject {
Q_OBJECT
2021-11-01 09:54:58 -04:00
public:
SquareLauncher(LauncherCore& window);
2021-11-01 09:54:58 -04:00
void getStored(const LoginInformation& info);
void login(const LoginInformation& info, QUrl referer);
2021-11-01 09:54:58 -04:00
void registerSession(const LoginInformation& info);
private:
QString getBootHash(const LoginInformation& info);
2021-11-01 09:54:58 -04:00
QString stored, SID, username;
2021-11-01 09:54:58 -04:00
LoginAuth auth;
LauncherCore& window;
};