Show / Hide Table of Contents

Method UseDefaultChallengeHandler

UseDefaultChallengeHandler(IAuthenticationConfiguration)

Sets a default challenge handler for authenticated requests.

Declaration
public static IAuthenticationConfiguration UseDefaultChallengeHandler(this IAuthenticationConfiguration configuration)
Parameters
Type Name Description
IAuthenticationConfiguration configuration

Authentication Configuration.

Returns
Type Description
IAuthenticationConfiguration

Authentication Configuration.

Remarks

This must be called on the UI Thread that you want the authentication dialogs to appear on. If you cannot call this from the correct thread, it's recommended to use set ChallengeHandler directly to the DefaultChallengeHandler on the correct thread or with the correct parameters.

See Also
ChallengeHandler
DefaultChallengeHandler

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.0 - 200.8
.NET200.0 - 200.8
.NET Windows200.0 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework200.0 - 200.8
UWP200.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.