Files
amnezia-client/client/core/models/api/authData.h
T

25 lines
415 B
C++
Raw Normal View History

#ifndef AUTHDATA_H
#define AUTHDATA_H
#include <QJsonObject>
#include <QString>
#include "core/utils/serverConfigUtils.h"
#include "core/utils/constants/apiKeys.h"
#include "core/utils/constants/apiConstants.h"
namespace amnezia
{
struct AuthData {
QString apiKey;
QJsonObject toJson() const;
static AuthData fromJson(const QJsonObject& json);
};
} // namespace amnezia
#endif // AUTHDATA_H