A store for instances of the subclasses of NetworkCredential. More...
Header | #include <Authentication/ |
Since | Esri |
Inherits | Esri |
Public Functions
virtual | ~ |
Q | credentials |
Q | remove |
Detailed Description
The NetworkCredentialStore is used to store instances of the subclasses of NetworkCredential. Network credentials are required when services have PKI, IWA or other types of security requirements. Another case is Server Trust, when a server's certificate is not trusted by the system, the user can provide a ServerTrust credential to trust this.
Member Function Documentation
[override virtual noexcept]
NetworkCredentialStore::~NetworkCredentialStore ()
Destructor.
QSet <Esri::ArcGISRuntime::Authentication::NetworkCredential *> NetworkCredentialStore::credentialsForHost (const QString &host) const
Returns the set of credentials for the given host.
QFuture <void> NetworkCredentialStore::removeAllAsync ()
Asynchronously removes all credentials from the store, and returns a future that will be completed when the operation is done.