referer property
The referer used to generate a token.
- TokenCredential - The referer is
app://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.
- OAuthUserCredential and OAuthApplicationCredential - The referer is an empty string.
Implementation
String get referer {
final stringHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_ArcGISCredential_getReferer(
_handle,
errorHandler,
);
});
return stringHandle.toDartString();
}