Pregenerated Token Credential
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.
If you use this PregeneratedTokenCredential as part of the secure resource challenge handling, it will be stored in the ArcGISCredentialStore of the AuthenticationManager. It will be used by all subsequent requests that have a matching URL context.
Since
200.1.0
Constructors
Creates an instance of a PregeneratedTokenCredential.
Properties
Inherited properties
The URL by which the root of a server is accessed. This is the URL against which rest endpoints are resolved. For example, "https://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer/0" would have a server context of "https://sampleserver3.arcgisonline.com/ArcGIS", on which we could add "/rest/info" or "/rest" to fetch the server information.