19 #ifndef LIB_QUENTIER_SYNCHRONIZATION_I_AUTHENTICATION_MANAGER_H
20 #define LIB_QUENTIER_SYNCHRONIZATION_I_AUTHENTICATION_MANAGER_H
22 #include <quentier/types/ErrorString.h>
23 #include <quentier/utility/Linkage.h>
24 #include <quentier/utility/Macros.h>
26 #include <qt5qevercloud/QEverCloud.h>
30 #include <QNetworkCookie>
46 void sendAuthenticationResult(
47 bool success, qevercloud::UserID userId,
48 QString authToken, qevercloud::Timestamp authTokenExpirationTime,
49 QString shardId, QString noteStoreUrl, QString webApiUrlPrefix,
50 QList<QNetworkCookie> userStoreCookies,
ErrorString errorDescription);
53 virtual void onAuthenticationRequest() = 0;
58 #endif // LIB_QUENTIER_SYNCHRONIZATION_I_AUTHENTICATION_MANAGER_H