Click or drag to resize

Esri.ArcGISRuntime.Security Namespace

Contains classes to enable accessing your applications information over secure Intranet/Internet connections. The most important class being the AuthenticationManager singleton that when enabled will manage the user credentials for the following resources: (1) ArcGIS Server resources secured using token-based authentication or using HTTP authentication, (2) secured ArcGIS.com resources (i.e. web maps), and (3) secured ArcGIS Portal resources.
Classes
  ClassDescription
Public classCode exampleArcGISNetworkCredential
The ArcGISNetworkCredential class represents a credential object used to access to HTTP secured ArcGIS resources.
Public classArcGISTokenCredential
The ArcGISTokenCredential class represents a credential object used to access to ArcGIS resources secured with an ArcGIS token.
Public classCode exampleAuthenticationManager
The Authentication Manager is a singleton class that, when enabled, will manage the user credentials for the following resources:
  • ArcGIS Server resources secured using token-based authentication or using HTTP authentication. Note that only ArcGIS Server versions 10 SP 1 and greater are supported.
  • Secured ArcGIS.com resources (e.g. web maps).
  • Secured ArcGIS Portal resources.
A credential for accessing to an ArcGIS resource can be preset by using AddCredential(Credential). In this case the credential is used for any requests to the specified resources.

If a request to an ArcGIS resource returns an authorization error, the ChallengeHandler, if not null, is called. This challenge handler can return the credential for accessing to the resource.

If the ChallengeHandler is null or if it doesn't return any credential, the Authorization error is returned to the caller as if the request was executed out of the AuthenticationManager.

Public classCode exampleCertificateCredential
The CertificateCredential class represents a digital certificate used to access to resources in a PKI (Public Key Infrastructure).
Public classChallengeHandler
Helper class allowing to create a challenge handler from a challenge method.
Public classCode exampleCredential
Base class that represents a credential object used to access a secured ArcGIS resource.
Public classCode exampleCredentialRequestInfo
Information about the ArcGIS service that needs a credential for getting access to.
Public classCode exampleGenerateTokenOptions
This class contains optional information about the token to generate.
Public classCode exampleOAuthClientInfo
Represents an OAuth application
Public classOAuthTokenCredential
The OAuthTokenCredential class represents a credential object used to access to ArcGIS resources secured with with OAuth.
Public classCode exampleServerInfo
This class contains information about an ArcGIS Server and its token endpoint.
Public classCode exampleTokenCredential
Base class that represents a credential object used to access to token secured ArcGIS resources.
Interfaces
  InterfaceDescription
Public interfaceCode exampleIChallengeHandler
ChallengeHandler interface for handling the authorization errors returned by the requests to the ArcGIS resources.
Public interfaceCode exampleIOAuthAuthorizeHandler
Interface to implement by components that handle authorization by a resource owner in an oauth workflow.
Enumerations
  EnumerationDescription
Public enumerationAuthenticationType
Types of Authentication that can be requested by the service.
Public enumerationCode exampleTokenAuthenticationType
Token Authentication types supported by ArcGIS.