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
    Inherits: QDialog

    This class was introduced in Esri.ArcGISRuntime 100.12.

    Public Functions

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

    Signals

    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

    AuthenticationView::AuthenticationView(QWidget *parent = nullptr)

    Constructor.

    • parent Parent widget.

    Internally the view will create and maintain its own AuthenticationController.

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

    Constructor.

    [signal] void AuthenticationView::authenticationControllerChanged()

    Emitted when the controller used to drive the view changes.

    [override virtual] AuthenticationView::~AuthenticationView()

    Destructor.

    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.