Namespace: Esri::GameEngine::Authentication
Class: Esri/GameEngine/Authentication/ArcGISCredential
Since: 1.1.0
Summary
A base class for types of ArcGIS credentials used to access secured resources.
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
No | Yes | The referer used to generate a token. | ||
No | Yes | The URL by which the root of a server is accessed. | ||
No | Yes | The user associated with the credential. |
Referer
FString GetReferer() const
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
FString GetServerContext() const
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.
Methods
Signature | Return Type | Summary |
---|---|---|
Equals(const ArcGISCredential&) | Tests if the two ArcGISCredential objects are equal. |
Equals
bool Equals(const ArcGISCredential& other) const
Tests if the two ArcGISCredential objects are equal.
Since 1.1.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
other | Yes | The credential to compare to. |
Returns bool
True if the comparison succeeds and the objects are equal, false otherwise.