PregeneratedTokenCredential

A credential used to access token-secured ArcGIS resources using a token that is generated outside of your application.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(url: String, tokenInfo: TokenInfo, referer: String = "")

Creates an instance of a PregeneratedTokenCredential.

Properties

Link copied to clipboard

Gets the TokenInfo used to create the credential.

Inherited properties

Link copied to clipboard

The referer used to generate a token.

Link copied to clipboard

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.

Link copied to clipboard

The user associated with the credential.

Inherited functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toJson(): String

Convert an object to JSON string.