Show / Hide Table of Contents

Method CreateCredentialAsync

CreateCredentialAsync(CredentialRequestInfo)

Challenge for getting the credential allowing to access to the specified ArcGIS resource.

Declaration
public virtual Task<Credential> CreateCredentialAsync(CredentialRequestInfo requestInfo)
Parameters
Type Name Description
CredentialRequestInfo requestInfo

Information about the ArcGIS resource that needs a credential for getting access to.

Returns
Type Description
System.Threading.Tasks.Task<Credential>

a Task object with Credential upon successful completion. Otherwise, the Task.Exception is set.

Implements
IChallengeHandler.CreateCredentialAsync(CredentialRequestInfo)

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.14 - 200.8
.NET100.14 - 200.8
.NET Windows100.14 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.14 - 200.8
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.