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>.
Loading...
Searching...
No Matches
qnetworkaccessauthenticationmanager.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#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, QByteArray(), 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: