Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qnetworkaccessauthenticationmanager.cpp File Reference
#include "qnetworkaccessauthenticationmanager_p.h"
#include "qnetworkaccessmanager.h"
#include "qnetworkaccessmanager_p.h"
#include "QtCore/qbuffer.h"
#include "QtCore/qlist.h"
#include "QtCore/qurl.h"
#include "QtCore/QMutexLocker"
#include "QtNetwork/qauthenticator.h"
#include <algorithm>
+ Include dependency graph for qnetworkaccessauthenticationmanager.cpp:

Go to the source code of this file.

Classes

class  QNetworkAuthenticationCache
 

Functions

static QByteArray proxyAuthenticationKey (const QNetworkProxy &proxy, const QString &realm)
 
static QByteArray authenticationKey (const QUrl &url, const QString &realm)
 

Function Documentation

◆ authenticationKey()

static QByteArray authenticationKey ( const QUrl url,
const QString realm 
)
inlinestatic

Definition at line 107 of file qnetworkaccessauthenticationmanager.cpp.

References copy(), QUrl::RemovePassword, QUrl::RemovePath, QUrl::RemoveQuery, and url.

Referenced by QNetworkAccessAuthenticationManager::cacheCredentials(), and QNetworkAccessAuthenticationManager::fetchCachedCredentials().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ proxyAuthenticationKey()

static QByteArray proxyAuthenticationKey ( const QNetworkProxy proxy,
const QString realm 
)
static

Definition at line 68 of file qnetworkaccessauthenticationmanager.cpp.

References QNetworkProxy::DefaultProxy, QNetworkProxy::FtpCachingProxy, QNetworkProxy::hostName(), QNetworkProxy::HttpCachingProxy, QNetworkProxy::HttpProxy, QNetworkProxy::NoProxy, QNetworkProxy::port(), proxy, QNetworkProxy::Socks5Proxy, QNetworkProxy::type(), and QNetworkProxy::user().

Referenced by QNetworkAccessAuthenticationManager::cacheProxyCredentials(), and QNetworkAccessAuthenticationManager::fetchCachedProxyCredentials().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: