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:
@ -39,6 +39,11 @@ class GenericCore : public QObject {
|
||||
public slots:
|
||||
void saveItems();
|
||||
|
||||
void onLoginSuccessful(const QByteArray jsonData);
|
||||
void onLoginFailure(const QString errorString);
|
||||
|
||||
void onNotAuthorized(const QString /*path*/);
|
||||
|
||||
void onSendItemTriggered(const QByteArray& jsonData);
|
||||
void onItemsFetched(const QByteArray jsonData);
|
||||
void onItemsFetchFailure(const QString errorString);
|
||||
|
||||
Reference in New Issue
Block a user