49 class CustomCookieJar;
59 const QString AccountHR_;
61 QNetworkAccessManager *
const AuthNAM_;
67 QDateTime ReceivedAt_;
75 bool IsRequestScheduled_;
76 QTimer *
const ScheduleTimer_;
78 bool SilentMode_ =
false;
80 bool HasTracked_ =
false;
93 VkAuthManager (
const QString& accountName,
const QString& clientId,
94 const QStringList& scope,
const QByteArray& cookies,
97 bool IsAuthenticated ()
const;
98 bool HadAuthentication ()
const;
100 void UpdateScope (
const QStringList&);
107 void SetSilentMode (
bool);
109 void InvokeQueues (
const QString&);
111 void RequestURL (
const QUrl&);
112 void RequestAuthKey ();
113 bool CheckReply (QUrl);
114 bool CheckError (
const QUrl&);
116 void ScheduleTrack (
const QString&);
118 void clearAuthData ();
121 void execScheduledRequest ();
122 void handleGotForm ();
123 void handleViewUrlChanged (
const QUrl&);
125 void gotAuthKey (
const QString&);
126 void cookiesChanged (
const QByteArray&);
127 void authCanceled ();
128 void justAuthenticated ();
std::shared_ptr< ICoreProxy > ICoreProxy_ptr
detail::ScopeGuard< detail::DefaultScopeGuardDeleter > DefaultScopeGuard
QueuePriority
The priority of the action in the queue.
A simple scheduling manager for a queue of functors.
A customized cookie jar with additional features.