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
| Target | Versions |
|---|---|
| UWP | 100.15 |