Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Public Member Functions | |
QNetworkAuthenticationCache () | |
iterator | findClosestMatch (const QString &domain) |
void | insert (const QString &domain, const QString &user, const QString &password) |
virtual void | dispose () override |
Public Member Functions inherited from QNetworkAccessCache::CacheableObject | |
CacheableObject () | |
virtual | ~CacheableObject () |
QByteArray | cacheKey () const |
Additional Inherited Members | |
Protected Member Functions inherited from QNetworkAccessCache::CacheableObject | |
void | setExpires (bool enable) |
void | setShareable (bool enable) |
Definition at line 20 of file qnetworkaccessauthenticationmanager.cpp.
|
inline |
Definition at line 24 of file qnetworkaccessauthenticationmanager.cpp.
References QList< QNetworkAuthenticationCredential >::reserve(), QNetworkAccessCache::CacheableObject::setExpires(), and QNetworkAccessCache::CacheableObject::setShareable().
|
inlineoverridevirtual |
Implements QNetworkAccessCache::CacheableObject.
Definition at line 64 of file qnetworkaccessauthenticationmanager.cpp.
|
inline |
Definition at line 34 of file qnetworkaccessauthenticationmanager.cpp.
References QList< QNetworkAuthenticationCredential >::begin(), QList< QNetworkAuthenticationCredential >::end(), QList< QNetworkAuthenticationCredential >::isEmpty(), it, and QString::startsWith().
Referenced by QNetworkAccessAuthenticationManager::fetchCachedCredentials(), and insert().
|
inline |
Definition at line 44 of file qnetworkaccessauthenticationmanager.cpp.
References closestMatch(), QNetworkAuthenticationCredential::domain, QList< QNetworkAuthenticationCredential >::end(), findClosestMatch(), and QList< T >::insert().
Referenced by QNetworkAccessAuthenticationManager::cacheCredentials(), and QNetworkAccessAuthenticationManager::cacheProxyCredentials().