forked from MultiMC/Launcher
-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3993d12
commit 1498132
Showing
11 changed files
with
78 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#include "Elyby.h" | ||
|
||
#include "minecraft/auth/steps/YggdrasilStep.h" | ||
#include "minecraft/auth/steps/GetSkinStep.h" | ||
|
||
ElybyRefresh::ElybyRefresh( | ||
AccountData *data, | ||
QObject *parent | ||
) : AuthFlow(data, parent) { | ||
m_steps.append(new YggdrasilStep(m_data, QString())); | ||
m_steps.append(new GetSkinStep(m_data)); | ||
} | ||
|
||
ElybyLogin::ElybyLogin( | ||
AccountData *data, | ||
QString password, | ||
QObject *parent | ||
): AuthFlow(data, parent), m_password(password) { | ||
m_steps.append(new YggdrasilStep(m_data, m_password)); | ||
m_steps.append(new GetSkinStep(m_data)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#pragma once | ||
#include "AuthFlow.h" | ||
|
||
class ElybyRefresh : public AuthFlow | ||
{ | ||
Q_OBJECT | ||
public: | ||
explicit ElybyRefresh( | ||
AccountData *data, | ||
QObject *parent = 0 | ||
); | ||
}; | ||
|
||
class ElybyLogin : public AuthFlow | ||
{ | ||
Q_OBJECT | ||
public: | ||
explicit ElybyLogin( | ||
AccountData *data, | ||
QString password, | ||
QObject *parent = 0 | ||
); | ||
|
||
private: | ||
QString m_password; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters