Auth token is stored in settings and deleted if a request is not authorized (with automatic re-login). Failed request need to be resend.
This commit is contained in:
@ -20,6 +20,11 @@ class JsonParser {
|
||||
const QString& objectName = "");
|
||||
static QJsonObject itemValuesToJsonObject(const ModelItemValues& itemValues);
|
||||
|
||||
static QByteArray userCredentialsToJsonDocument(const QString email, const QString password);
|
||||
static QVariant getValueFromJson(const QByteArray& jsonData,
|
||||
const QString key,
|
||||
const QString objectName = "");
|
||||
|
||||
private:
|
||||
explicit JsonParser();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user