Package-level declarations
Types
An ArcGIS authentication challenge. An ArcGIS authentication challenge is raised by the ArcGISAuthenticationChallengeHandler if an ArcGIS secured resource requires OAuth or ArcGIS Token authentication.
An interface for handling ArcGISAuthenticationChallenges.
Possible responses to an ArcGISAuthenticationChallenge.
A base class for types of ArcGIS credentials used to access secured resources. This is a base class for ArcGIS credentials requiring OAuth or ArcGIS Token authentication, such as OAuthUserCredential, OAuthApplicationCredential, PregeneratedTokenCredential and TokenCredential.
A store for instances of the subclasses of ArcGISCredential. The credential provided while handling an authentication challenge is placed in the ArcGIS credential store of the com.arcgismaps.ArcGISEnvironment.authenticationManager and used by all subsequent requests that have a matching server context.
Manages requests for ArcGIS secure resources made by an application. The authentication manager allows you to manage user credentials for accessing secured ArcGIS Online and ArcGIS Enterprise resources. You can obtain the AuthenticationManager from the com.arcgismaps.ArcGISEnvironment.authenticationManager static property. The authentication manager provides a central place for you to configure authentication challenge handlers and credential stores:
Represents a digital certificate used to access certificate secured resources.
Represents an authentication challenge that is raised upon encountering an authentication error. This class provides information about the authentication challenge, such as the request hostname, the NetworkAuthenticationType, and the cause.
Implement this interface to handle NetworkAuthenticationChallenges.
Possible responses to a network authentication challenge.
Represents the different types of authentication challenges that can be raised.
A credential that can be used to authenticate network connections.
Stores credentials of type NetworkCredential for use in network-secured requests.
A credential to access OAuth token-secured ArcGIS resources using the application's credentials. The OAuth application credential generates a short-lived access token that gives your application permission to access token-secured ArcGIS content and services, such as the ArcGIS location services.
The OAuth application token information that can be used to access OAuth token-secured ArcGIS content and services.
The OAuth user configuration information used by an OAuthUserCredential. The portal URL, client ID, and redirect URL are required to create an OAuthUserCredential. You can get the the client ID and redirect URL by following the Create OAuth credentials for user authentication tutorial.
A credential that access OAuth token-secured ArcGIS resources using an OAuthUserConfiguration. The OAuth user credential generates a short-lived access token that gives the user permission to access token-secured ArcGIS content and services, such as the ArcGIS location services.
Provides data required for prompting a user for an OAuthUserCredential. Once a user has completed an OAuthUserLoginPrompt, the OAuth sign in is completed by calling complete or cancel depending on the result of the OAuth user login prompt.
The OAuth user token information that can be used by clients, in exchange for user credentials, to access OAuth token-secured ArcGIS content and services.
Credential that is used to authenticate against HTTP-secured services.
A credential that accesses token-secured ArcGIS content and services using a token generated outside of your application. Use this token if you are unable to use credentials, such as OAuthUserCredential or TokenCredential, and you have generated a token outside of the application.
The exchange interval for the refresh token held by an OAuth credential. Use this to exchange a refresh token before it expires. This will limit the number of times a user will have to login because of expiring tokens.
The requested expiration interval for the OAuth refresh token.
Represents a response to trust the Server Certificate of an HTTP network connection that is self signed or signed by an unknown root authority (for example an enterprise root certificate).
A credential that accesses token-secured ArcGIS content and services. To create a token credential, provide a secured service URL, valid username, and password. Alternatively, you can create a token credential for network secure resources that are secured using network authentication, such as Integrated Windows Authentication (IWA) or Public Key Infrastructure (PKI). In both bases, you can specify a token expiration in minutes.