Show / Hide Table of Contents

Constructor ChallengeHandler

ChallengeHandler(Func<CredentialRequestInfo, Task<Credential>>)

Initializes a new instance of the ChallengeHandler class from a Challenge method.

Declaration
public ChallengeHandler(Func<CredentialRequestInfo, Task<Credential>> challengeMethod)
Parameters
Type Name Description
Func<CredentialRequestInfo, Task<Credential>> challengeMethod

The challenge method

Remarks

This class allows the user to initialize the ChallengeHandler without having to implement the interface: AuthenticationManager.Current.ChallengeHandler = new ChallengeHandler(myMethod);

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.