Skip to content

OAuthUserConfigurationManager Class

  • Esri.ArcGISRuntime.Toolkit
  • OAuthUserConfigurationManager
  • class Esri::ArcGISRuntime::Toolkit::OAuthUserConfigurationManager

    A class that manages the available OAuthUserConfiguration instances for the application. More...

    Header: #include <OAuthUserConfigurationManager>
    Since: Esri.ArcGISRuntime::Toolkit 200.8

    Static Public Members

    void addConfiguration(Esri::ArcGISRuntime::Authentication::OAuthUserConfiguration *userConfiguration)
    void clearConfigurations()
    QList<Esri::ArcGISRuntime::Authentication::OAuthUserConfiguration *> configurations()

    Detailed Description

    All added configurations will become owned by the OAuthUserConfigurationManager. Any parent applied will be removed.

    In order for your application to issue OAuth challenges, you must add at least one OAuthUserConfiguration to the OAuthUserConfigurationManager.

    For more information, see the OAuth tutorial and the OAuthUserConfiguration doc for more information.

    Member Function Documentation

    [static] void OAuthUserConfigurationManager::addConfiguration(Esri::ArcGISRuntime::Authentication::OAuthUserConfiguration *userConfiguration)

    Adds userConfiguration to the list of OAuthUserConfigurations.

    Note: any QObject parent will be removed and reset. Ownership is managed by the OAuthUserConfigurationManager.

    [static] void OAuthUserConfigurationManager::clearConfigurations()

    Clears all OAuthUserConfigurations.

    All configurations will be removed and deleted. Your app will no longer issue any OAuth challenges. This will not impact any existing, successfully authenticated credentials/sessions.

    [static] QList<Esri::ArcGISRuntime::Authentication::OAuthUserConfiguration *> OAuthUserConfigurationManager::configurations()

    Returns the list of OAuthUserConfiguration available.

    The returned objects are owned by the OAuthUserConfigurationManager.

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