Class ServerInfo
Contains information about an ArcGIS Server and its token endpoint.
Inheritance
System.Object
ServerInfo
Implements
System.Runtime.Serialization.ISerializable
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Serializable]
[Obsolete("ServerInfo is deprecated. To configure OAuth for a server, create an OAuthUserConfiguration.")]
public sealed class ServerInfo : ISerializable
Constructors
| Name | Description |
|---|---|
| ServerInfo(Uri) | Initializes a new instance of the ServerInfo class. |
Properties
| Name | Description |
|---|---|
| OAuthClientInfo | Gets or sets the OAuth application info. |
| OwningSystemUri | Gets or sets the URI of the system owning the server (optional, only useful in case of federated services). |
| ServerUri | Gets the server URI.
Most generally the URI uses the following format: |
| TokenAuthenticationType | Gets or sets the type of the token authentication used by default for this server. |
| TokenServiceUri | Gets or sets the token service URI used to generate tokens for the secured resources on the server. |
| Name | Description |
|---|---|
| ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |