Improve login UI
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
849c3faeb4
commit
abedc6a23c
25 changed files with 159 additions and 287 deletions
|
@ -47,7 +47,7 @@
|
|||
#include "AuthSession.h"
|
||||
#include "QObjectPtr.h"
|
||||
#include "Usable.h"
|
||||
#include "minecraft/auth/flows/AuthFlow.h"
|
||||
#include "minecraft/auth/AuthFlow.h"
|
||||
|
||||
class Task;
|
||||
class MinecraftAccount;
|
||||
|
@ -95,9 +95,7 @@ class MinecraftAccount : public QObject, public Usable {
|
|||
QJsonObject saveToJson() const;
|
||||
|
||||
public: /* manipulation */
|
||||
shared_qobject_ptr<AuthFlow> loginMSA();
|
||||
|
||||
shared_qobject_ptr<AuthFlow> loginOffline();
|
||||
shared_qobject_ptr<AuthFlow> login();
|
||||
|
||||
shared_qobject_ptr<AuthFlow> refresh();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue