33 class CustomCookieJar;
43 const QString AccountHR_;
45 std::unique_ptr<IWebWidget> Browser_;
47 QNetworkAccessManager *
const AuthNAM_;
53 QDateTime ReceivedAt_;
56 bool IsRequesting_ =
false;
61 bool IsRequestScheduled_ =
false;
62 QTimer *
const ScheduleTimer_;
64 bool SilentMode_ =
false;
66 bool HasTracked_ =
false;
79 VkAuthManager (
const QString& accountName,
const QString& clientId,
80 const QStringList& scope,
const QByteArray& cookies,
84 bool IsAuthenticated ()
const;
85 bool HadAuthentication ()
const;
87 void UpdateScope (
const QStringList&);
100 void SetSilentMode (
bool);
102 void ClearAuthData ();
105 void InvokeQueues (
const QString&);
107 void RequestURL (
const QUrl&);
108 void RequestAuthKey ();
109 bool CheckReply (QUrl);
110 bool CheckError (
const QUrl&);
112 void ScheduleTrack (
const QString&);
113 void HandleGotForm (QNetworkReply*);
115 void handleUrlChanged (
const QUrl&);
117 void gotAuthKey (
const QString&);
118 void cookiesChanged (
const QByteArray&);
119 void authCanceled ();
120 void justAuthenticated ();