Skip to content

Implement authentication

There are two ways to implement authentication in your apps to access secured services: you can use a toolkit component that abstracts the details of working with the authentication API, or you can write code that uses the authentication API directly. These options are described below:

  • Authentication toolkit component—All aspects of ArcGIS and network authentication have been encapsulated into a single ArcGIS Maps SDK for Qt toolkit component. This component supports multiple types of authentication challenges and provides default user interfaces for login prompts, certificate selection prompts, and server trust dialogs. See the Authentication toolkit component topic for more information about using the component to authenticate users of your app.
  • Authentication API—If you do not want to use the ArcGIS Maps SDK for Qt toolkit component, you can manage the authentication process in your code using the AuthenticationManager class and associated API provided by this SDK. The API exposes the same authentication capabilities as the ArcGIS Maps SDK for Qt toolkit component, giving you full control of the authentication process but requiring you to implement more of the authentication logic yourself. See the Authentication API topic for more information about using the authentication API in your app.

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