不具合
| 不具合 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 Support アプリのダウンロード