Class OAuthApplicationCredential
A credential to access OAuth token-secured ArcGIS resources using the application's credentials.
Implements
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Serializable]
public sealed class OAuthApplicationCredential : ArcGISCredential, INotifyPropertyChanged, ISerializable
Remarks
The OAuth application credential generates a short-lived access token that gives your application permission to access token-secured ArcGIS content and services, such as the ArcGIS location services.
The OAuth
If you use this OAuth
Properties
Name | Description |
---|---|
Client |
Gets a unique identifier associated with an application registered with the portal that assists with client/server OAuth authentication. |
Referer | Gets the referer used to generate a token. |
Token |
Gets the length of time a token credential remains valid.
If set to System. |
Methods
Name | Description |
---|---|
Create |
Creates an OAuth |
Get |
Returns an instance of OAuth |
To |
Convert this Credential to a JSON string. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.5 - 200.6 |
.NET | 200.5 - 200.6 |
.NET Windows | 200.5 - 200.6 |
.NET Android | 200.5 - 200.6 |
.NET iOS | 200.5 - 200.6 |
.NET Framework | 200.5 - 200.6 |
UWP | 200.5 - 200.6 |