![]() |
LeechCraft
%{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
|
#include "vkauthmanager.h"
Public Types | |
typedef QList< std::function < void(QString)> > | RequestQueue_t |
typedef RequestQueue_t * | RequestQueue_ptr |
typedef QList< QPair < std::function< void(QString)> , QueuePriority > > | PrioRequestQueue_t |
typedef PrioRequestQueue_t * | PrioRequestQueue_ptr |
Public Slots | |
void | clearAuthData () |
void | reauth () |
Signals | |
void | gotAuthKey (const QString &) |
void | cookiesChanged (const QByteArray &) |
void | authCanceled () |
void | justAuthenticated () |
Public Member Functions | |
VkAuthManager (const QString &accountName, const QString &clientId, const QStringList &scope, const QByteArray &cookies, ICoreProxy_ptr, QueueManager *=nullptr, QObject *=nullptr) | |
bool | IsAuthenticated () const |
bool | HadAuthentication () const |
void | UpdateScope (const QStringList &) |
void | GetAuthKey () |
void | ManageQueue (RequestQueue_ptr) |
void | UnmanageQueue (RequestQueue_ptr) |
void | ManageQueue (PrioRequestQueue_ptr) |
void | UnmanageQueue (PrioRequestQueue_ptr) |
void | SetSilentMode (bool) |
Definition at line 52 of file vkauthmanager.h.
Definition at line 83 of file vkauthmanager.h.
typedef QList<QPair<std::function<void (QString)>, QueuePriority> > LeechCraft::Util::SvcAuth::VkAuthManager::PrioRequestQueue_t |
Definition at line 82 of file vkauthmanager.h.
Definition at line 80 of file vkauthmanager.h.
typedef QList<std::function<void (QString)> > LeechCraft::Util::SvcAuth::VkAuthManager::RequestQueue_t |
Definition at line 79 of file vkauthmanager.h.
LeechCraft::Util::SvcAuth::VkAuthManager::VkAuthManager | ( | const QString & | accountName, |
const QString & | clientId, | ||
const QStringList & | scope, | ||
const QByteArray & | cookies, | ||
ICoreProxy_ptr | proxy, | ||
QueueManager * | queueMgr = nullptr , |
||
QObject * | parent = nullptr |
||
) |
Definition at line 57 of file vkauthmanager.cpp.
References LeechCraft::Util::CustomCookieJar::Load().
|
signal |
|
slot |
Definition at line 229 of file vkauthmanager.cpp.
References LeechCraft::Util::CustomCookieJar::Load().
|
signal |
void LeechCraft::Util::SvcAuth::VkAuthManager::GetAuthKey | ( | ) |
Definition at line 107 of file vkauthmanager.cpp.
References gotAuthKey(), and IsAuthenticated().
|
signal |
bool LeechCraft::Util::SvcAuth::VkAuthManager::HadAuthentication | ( | ) | const |
Definition at line 90 of file vkauthmanager.cpp.
bool LeechCraft::Util::SvcAuth::VkAuthManager::IsAuthenticated | ( | ) | const |
Definition at line 84 of file vkauthmanager.cpp.
Referenced by GetAuthKey().
|
signal |
void LeechCraft::Util::SvcAuth::VkAuthManager::ManageQueue | ( | VkAuthManager::RequestQueue_ptr | queue | ) |
Definition at line 126 of file vkauthmanager.cpp.
void LeechCraft::Util::SvcAuth::VkAuthManager::ManageQueue | ( | VkAuthManager::PrioRequestQueue_ptr | queue | ) |
Definition at line 143 of file vkauthmanager.cpp.
|
slot |
Definition at line 259 of file vkauthmanager.cpp.
References authCanceled().
void LeechCraft::Util::SvcAuth::VkAuthManager::SetSilentMode | ( | bool | silent | ) |
Definition at line 160 of file vkauthmanager.cpp.
void LeechCraft::Util::SvcAuth::VkAuthManager::UnmanageQueue | ( | VkAuthManager::RequestQueue_ptr | queue | ) |
Definition at line 138 of file vkauthmanager.cpp.
void LeechCraft::Util::SvcAuth::VkAuthManager::UnmanageQueue | ( | VkAuthManager::PrioRequestQueue_ptr | queue | ) |
Definition at line 155 of file vkauthmanager.cpp.
void LeechCraft::Util::SvcAuth::VkAuthManager::UpdateScope | ( | const QStringList & | scope | ) |
Definition at line 95 of file vkauthmanager.cpp.