aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/auth/flows/Mojang.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/minecraft/auth/flows/Mojang.h')
-rw-r--r--launcher/minecraft/auth/flows/Mojang.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/launcher/minecraft/auth/flows/Mojang.h b/launcher/minecraft/auth/flows/Mojang.h
new file mode 100644
index 00000000..c09c81a8
--- /dev/null
+++ b/launcher/minecraft/auth/flows/Mojang.h
@@ -0,0 +1,26 @@
+#pragma once
+#include "AuthFlow.h"
+
+class MojangRefresh : public AuthFlow
+{
+ Q_OBJECT
+public:
+ explicit MojangRefresh(
+ AccountData *data,
+ QObject *parent = 0
+ );
+};
+
+class MojangLogin : public AuthFlow
+{
+ Q_OBJECT
+public:
+ explicit MojangLogin(
+ AccountData *data,
+ QString password,
+ QObject *parent = 0
+ );
+
+private:
+ QString m_password;
+};