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
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.0 - 200.8 |
| .NET | 200.0 - 200.8 |
| .NET Windows | 200.0 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 200.0 - 200.8 |
| UWP | 200.0 - 200.8 |