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 |
---|---|---|
System.Func<CredentialRequestInfo, System.Threading.Tasks.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 |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.2 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |