Skip to content

AuthenticationView QML Type

  • Esri.ArcGISRuntime.Toolkit
  • AuthenticationView
  • A view for handling authentication challenges and automatically launching the appropriate UI for each type of authentication. Use Authenticator instead. More...

    Import Statement: import Esri.ArcGISRuntime.Toolkit
    Since: Esri.ArcGISRuntime 100.10
    Inherits:

    Item

    Status: Until 200.8

    This type is scheduled for deprecation in version 200.8.

    Detailed Description

    Note: This component is deprecated and will be removed in an upcoming release. Use Authenticator instead.

    To migrate to `Authenticator`, change

    AuthenticationView {
        anchors.centerIn: parent
    }

    to:

    Authenticator {
        anchors.centerIn: parent
    }

    Declare an AuthenticationView in your QML file. The AuthenticationView will then be connected to all authentication challenges, and will automatically launch the appropriate view for the type of challenge. Supported security formats include:

    • ArcGIS Token (UserCredentialsView)
    • HTTP Basic (UserCredentialsView)
    • HTTP Digest (UserCredentialsView)
    • IWA (UserCredentialsView)
    • OAuth 2.0 (OAuth2View)
    • SAML (OAuth2View)
    • PKI (ClientCertificateView)
    • SSL Handshake Warnings (SslHandshakeView)

    Note: OAuth 2.0 uses a WebView. To use an OAuthView you must call QtWebView::initialize() before the QGuiApplication instance is created. See Qt WebView.

    authentication_view

    AuthenticationView {
      anchors.centerIn: parent
    }

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.