2022-01-17 11:08:10 +00:00
|
|
|
#pragma once
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
#include "QObjectPtr.h"
|
|
|
|
#include "minecraft/auth/AuthStep.h"
|
|
|
|
|
|
|
|
#include <katabasis/DeviceFlow.h>
|
|
|
|
|
|
|
|
class OfflineStep : public AuthStep {
|
|
|
|
Q_OBJECT
|
2023-08-02 17:35:35 +01:00
|
|
|
public:
|
|
|
|
explicit OfflineStep(AccountData* data);
|
2022-01-17 11:08:10 +00:00
|
|
|
virtual ~OfflineStep() noexcept;
|
|
|
|
|
|
|
|
void perform() override;
|
|
|
|
void rehydrate() override;
|
|
|
|
|
|
|
|
QString describe() override;
|
|
|
|
};
|