Class OAuthUserCredential
A credential that access OAuth token-secured ArcGIS resources using an OAuth
Implements
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Serializable]
public sealed class OAuthUserCredential : ArcGISCredential, INotifyPropertyChanged, ISerializable
Remarks
The OAuth user credential generates a short-lived access token that gives the user permission to access token-secured ArcGIS content and services, such as the ArcGIS location services.
The OAuth login process presents the user with an OAuth login page. You can configure the look and feel of this
login page by setting OAuth
If you return an OAuth
Properties
Name | Description |
---|---|
Authorization |
Gets an authorization code to generate the OAuth token. |
Configuration | Gets the OAuth configuration details of an application that can sign into an ArcGIS Online or ArcGIS Enterprise portal using OAuth. |
Referer | Gets the referer (unused on OAuth credentials). |
Methods
Name | Description |
---|---|
Create |
Creates an OAuth |
Get |
Returns an instance of OAuth |
Revoke |
Sends a network request to revoke OAuth refresh and access tokens. |
To |
Convert this Credential to a JSON string. |
See Also
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.6 |
.NET | 200.6 |
.NET Windows | 200.6 |
.NET Android | 200.6 |
.NET iOS | 200.6 |
.NET Framework | 200.6 |
UWP | 200.6 |