A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-authenticationmanager.html below:

AuthenticationManager Class | ArcGIS Maps SDK for Qt

This class is deprecated. We strongly advise against using it in new code.

Member Function Documentation [override virtual noexcept] AuthenticationManager::~AuthenticationManager()

Destructor.

[static invokable] bool AuthenticationManager::addClientCertificate(const QUrl &clientCertificate, const QString &password = QString())

Adds a client certifcate to the authentication manager by providing a path to a clientCertificate file and and optional password for the certificate.

This function returns true if the certificate was successfully added, or returns false if the certificate file could not be opened or if the password was incorrect.

This function is invokable from QML.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

[signal] void AuthenticationManager::authenticationChallenge(Esri::ArcGISRuntime::AuthenticationChallenge *challenge)

AuthenticationManager emits this signal when a response from an authentication challenge is required.

Since Esri::ArcGISRuntime 100.1, authentication challenges occur sequentially. The application or user must respond to a challenge request to allow following challenges in the queue to be emitted.

The returned AuthenticationChallenge object has the AuthenticationManager as its parent.

See also Returned QObjects Parenting.

[signal] void AuthenticationManager::clientCertificateInfosChanged()

AuthenticationManager emits this signal when a client certificate is successfully added by calling addClientCertificate.

Note: Notifier signal for property clientCertificateInfos.

[signal] void AuthenticationManager::clientCertificatePasswordRequired(const QUrl &certificate)

AuthenticationManager emits this signal when a password is required to add a client certificate with addClientCertificate.

[static] Esri::ArcGISRuntime::CredentialCache *AuthenticationManager::credentialCache()

Returns the credential cache being maintained by the authentication manager.

The credential cache contains credentials that have been used previously to satisfy authentication challenges. This allows a credential to be reused where appropriate, and prevents unnecessary or duplicate challenges from being issued while accessing secure resources from the same security realm.

[static, since Esri::ArcGISRuntime 100.2] void AuthenticationManager::fetchLoginTypeForUrl(const QUrl &url)

Checks the login type for the given portal url.

Requests the LoginType for a given url, and emits the fetchLoginTypeForUrlCompleted signal when finished. The loginType that is passed through the signal as a parameter will return as Unknown if an error occurred or if the URL is invalid.

This function was introduced in Esri::ArcGISRuntime 100.2.

[signal] void AuthenticationManager::fetchLoginTypeForUrlCompleted(Esri::ArcGISRuntime::LoginType loginType)

AuthenticationManager emits this signal after the fetchLoginTypeForUrl method has completed.

[static] Esri::ArcGISRuntime::AuthenticationManager *AuthenticationManager::instance()

Returns the singleton instance of the AuthenticationManager.

Use this method to get a reference to this instance so you can connect its signals to slots.

[static] bool AuthenticationManager::isCredentialCacheEnabled()

Returns true if credentials are cached automatically.

By default, automatic caching is enabled.

[static] void AuthenticationManager::setCredentialCacheEnabled(bool enabled)

Sets whether credential caching is automatically enabled.

See also isCredentialCacheEnabled().


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4