Namespace: GameEngine.Authentication
Class: GameEngine/Authentication/ArcGISCredential
Since: 1.1.0
Implements: ArcGISInstanceId, ArcGISJSONSerializable<ArcGISCredential>
Summary
A base class for types of ArcGIS credentials used to access secured resources.
Properties
Referer
string Referer
The referer used to generate a token.
TokenCredential- The referer isapp://arcgis-maps/<application identifier>.PregeneratedTokenCredential- The referer passed to the constructor should match the referer used to generate the token, or empty string if none was used.- ArcGISOAuthUserCredential and
OAuthApplicationCredential- The referer is an empty string.
ServerContext
string ServerContext
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.