Show / Hide Table of Contents

Class DefaultChallengeHandler

A default IChallengeHandler implementation that automatically handles requesting user credentials using platform-specific UI.

Inheritance
System.Object
DefaultChallengeHandler
Implements
IChallengeHandler
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class DefaultChallengeHandler : IChallengeHandler

Constructors

Name Description
DefaultChallengeHandler()

Initializes a new instance of the DefaultChallengeHandler class.

DefaultChallengeHandler(UIViewController)

Initializes a new instance of the DefaultChallengeHandler class for the specified view controller.

Properties

Name Description
ViewController

Gets or sets the main view controller.

Methods

Name Description
CreateCredentialAsync(CredentialRequestInfo)

Create the credential allowing to access to the specified ArcGIS resource. Most generally the application challenges the user in order to get the credential but the credential may also be generated programmatically.

Applies to

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.