漏洞
| 漏洞 ID 编号 | BUG-000138488 |
|---|---|
| 已提交 | March 25, 2021 |
| 上次修改时间 | June 5, 2024 |
| 适用范围 | ArcGIS Runtime SDK |
| 找到的版本 | 100.10 |
| 操作系统 | Windows OS |
| 操作系统版本 | 10.0 64 Bit |
| 状态 | Non-Reproducible |
User-based authentication
To support user-based authentication with OAuth, the recommended approach is OAuth Authorization Code. In this case the TokenAuthenticationType must be set to OAuthAuthorizationCode. Refer to ArcGIS Developers: ArcGIS Identity for more information.
Example:
var serverInfo = new ServerInfo(new Uri("https://www.arcgis.com/sharing/rest"))
{
TokenAuthenticationType = TokenAuthenticationType.OAuthAuthorizationCode,
OAuthClientInfo = new OAuthClientInfo("...", null)
};
Application-based authentication
Example:
var serverInfo = new ServerInfo(new Uri("https://www.arcgis.com/sharing/rest"))
{
TokenAuthenticationType = TokenAuthenticationType.OAuthClientCredentials,
OAuthClientInfo = new OAuthClientInfo("...", null, "...")
};
Notes:
漏洞 ID: BUG-000138488
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序