AuthenticationView Class

  • AuthenticationView
  • class Esri::ArcGISRuntime::Toolkit::AuthenticationView

    A view for handling authentication challenges and automatically launching the appropriate UI for each type of authentication. More...

    Header: #include <AuthenticationView>
    Since: Esri.ArcGISRuntime 100.12

    Public Functions

    AuthenticationView(Esri::ArcGISRuntime::Toolkit::AuthenticationController *controller, QWidget *parent = nullptr)
    AuthenticationView(QWidget *parent = nullptr)
    Esri::ArcGISRuntime::Toolkit::AuthenticationController *controller() const
    void setController(Esri::ArcGISRuntime::Toolkit::AuthenticationController *controller)


    Detailed Description

    Declare an AuthenticationView. 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 (user credentials)
    • HTTP Basic (user credentials)
    • HTTP Digest (user credentials)
    • IWA (user credentials)
    • OAuth 2.0 (OAuth2)
    • SAML (OAuth2)
    • PKI (client certificate)
    • SSL Handshake Warnings (ssl)

    Note: OAuth 2.0 uses QWebEngineView. To use OAuth you must add QT += webenginewidgets to qmake. See QWebEngineView.

    Member Function Documentation

    [explicit] AuthenticationView::AuthenticationView(Esri::ArcGISRuntime::Toolkit::AuthenticationController *controller, QWidget *parent = nullptr)


    [explicit] AuthenticationView::AuthenticationView(QWidget *parent = nullptr)


    • parent Parent widget.

    Internally the view will create and maintain its own AuthenticationController.



    [signal] void AuthenticationView::authenticationControllerChanged()

    Emitted when the controller used to drive the view changes.

    Esri::ArcGISRuntime::Toolkit::AuthenticationController *AuthenticationView::controller() const

    Returns the controller.

    See also setController().

    void AuthenticationView::setController(Esri::ArcGISRuntime::Toolkit::AuthenticationController *controller)

    Sets the controller to controller.

    See also controller().

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