Class PregeneratedTokenCredential
A credential that accesses token-secured ArcGIS content and services using an independently generated token.
Implements
System.ComponentModel.INotifyPropertyChanged
System.Runtime.Serialization.ISerializable
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Serializable]
public sealed class PregeneratedTokenCredential : ArcGISCredential, INotifyPropertyChanged, ISerializable
Remarks
Use this credential type if you generate a token outside of the Maps SDK and are unable to use built-in credentials, such as OAuthUserCredential or AccessTokenCredential.
Constructors
Name | Description |
---|---|
PregeneratedTokenCredential(Uri, TokenInfo, Uri) | Initializes a new instance of the PregeneratedTokenCredential class. |
Properties
Name | Description |
---|---|
Referer | Gets the referer used to generate a token. |
TokenInfo | Gets the TokenInfo used to create the credential. |
Methods
Name | Description |
---|---|
ToJson() | Convert this Credential to a JSON string. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 - 200.8 |
.NET | 200.5 - 200.8 |
.NET Windows | 200.5 - 200.8 |
.NET Android | 200.5 - 200.8 |
.NET iOS | 200.5 - 200.8 |
.NET Framework | 200.5 - 200.8 |
UWP | 200.5 - 200.8 |