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
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
Referer | string | No | Yes | The referer used to generate a token. |
ServerContext | string | No | Yes | The URL by which the root of a server is accessed. |
Username | string | No | Yes | The user associated with the credential. |
Referer
string Referer
The referer used to generate a token.
Token
- The referer isCredential app
.://arcgis-maps/ <application identifier > Pregenerated
- The referer passed to the constructor should match the referer used to generate the token, or empty string if none was used.Token Credential - ArcGISOAuthUserCredential and
O
- The referer is an empty string.Auth Application Credential
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.