![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QNetworkAuthenticationCache () | |
iterator | findClosestMatch (const QString &domain) |
void | insert (const QString &domain, const QString &user, const QString &password) |
virtual void | dispose () override |
![]() | |
CacheableObject () | |
virtual | ~CacheableObject () |
virtual void | dispose ()=0 |
QByteArray | cacheKey () const |
Additional Inherited Members | |
![]() | |
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(), QNetworkAccessAuthenticationManager::fetchCachedProxyCredentials(), and insert().
|
inline |
Definition at line 44 of file qnetworkaccessauthenticationmanager.cpp.
References closestMatch(), QNetworkAuthenticationCredential::domain, QList< QNetworkAuthenticationCredential >::end(), findClosestMatch(), QList< T >::insert(), QNetworkAuthenticationCredential::password, and QNetworkAuthenticationCredential::user.
Referenced by QNetworkAccessAuthenticationManager::cacheCredentials(), and QNetworkAccessAuthenticationManager::cacheProxyCredentials().