IAuthenticationService.ChallengeAsync(HttpContext, String, AuthenticationProperties) IAuthenticationService.ChallengeAsync(HttpContext, String, AuthenticationProperties) IAuthenticationService.ChallengeAsync(HttpContext, String, AuthenticationProperties) IAuthenticationService.ChallengeAsync(HttpContext, String, AuthenticationProperties) Method

Definition

Challenge the specified authentication scheme.

public:
 System::Threading::Tasks::Task ^ ChallengeAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ scheme, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public System.Threading.Tasks.Task ChallengeAsync (Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
abstract member ChallengeAsync : Microsoft.AspNetCore.Http.HttpContext * string * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Function ChallengeAsync (context As HttpContext, scheme As String, properties As AuthenticationProperties) As Task

Parameters

scheme
String String String String

The name of the authentication scheme.

Returns

A task.

Applies to