AuthenticationHttpContextExtensions.ChallengeAsync AuthenticationHttpContextExtensions.ChallengeAsync AuthenticationHttpContextExtensions.ChallengeAsync AuthenticationHttpContextExtensions.ChallengeAsync Method

Definition

Overloads

ChallengeAsync(HttpContext) ChallengeAsync(HttpContext) ChallengeAsync(HttpContext) ChallengeAsync(HttpContext)

Extension method for authenticate using the DefaultChallengeScheme scheme.

ChallengeAsync(HttpContext, AuthenticationProperties) ChallengeAsync(HttpContext, AuthenticationProperties) ChallengeAsync(HttpContext, AuthenticationProperties) ChallengeAsync(HttpContext, AuthenticationProperties)

Extension method for authenticate using the DefaultChallengeScheme scheme.

ChallengeAsync(HttpContext, String) ChallengeAsync(HttpContext, String) ChallengeAsync(HttpContext, String) ChallengeAsync(HttpContext, String)

Extension method for Challenge.

ChallengeAsync(HttpContext, String, AuthenticationProperties) ChallengeAsync(HttpContext, String, AuthenticationProperties) ChallengeAsync(HttpContext, String, AuthenticationProperties) ChallengeAsync(HttpContext, String, AuthenticationProperties)

Extension method for Challenge.

ChallengeAsync(HttpContext) ChallengeAsync(HttpContext) ChallengeAsync(HttpContext) ChallengeAsync(HttpContext)

Extension method for authenticate using the DefaultChallengeScheme scheme.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ ChallengeAsync(Microsoft::AspNetCore::Http::HttpContext ^ context);
public static System.Threading.Tasks.Task ChallengeAsync (this Microsoft.AspNetCore.Http.HttpContext context);
static member ChallengeAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
<Extension()>
Public Function ChallengeAsync (context As HttpContext) As Task

Parameters

Returns

The task.

ChallengeAsync(HttpContext, AuthenticationProperties) ChallengeAsync(HttpContext, AuthenticationProperties) ChallengeAsync(HttpContext, AuthenticationProperties) ChallengeAsync(HttpContext, AuthenticationProperties)

Extension method for authenticate using the DefaultChallengeScheme scheme.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ ChallengeAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public static System.Threading.Tasks.Task ChallengeAsync (this Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
static member ChallengeAsync : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
<Extension()>
Public Function ChallengeAsync (context As HttpContext, properties As AuthenticationProperties) As Task

Parameters

Returns

The task.

ChallengeAsync(HttpContext, String) ChallengeAsync(HttpContext, String) ChallengeAsync(HttpContext, String) ChallengeAsync(HttpContext, String)

Extension method for Challenge.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ ChallengeAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ scheme);
public static System.Threading.Tasks.Task ChallengeAsync (this Microsoft.AspNetCore.Http.HttpContext context, string scheme);
static member ChallengeAsync : Microsoft.AspNetCore.Http.HttpContext * string -> System.Threading.Tasks.Task
<Extension()>
Public Function ChallengeAsync (context As HttpContext, scheme As String) As Task

Parameters

scheme
String String String String

The name of the authentication scheme.

Returns

The result.

ChallengeAsync(HttpContext, String, AuthenticationProperties) ChallengeAsync(HttpContext, String, AuthenticationProperties) ChallengeAsync(HttpContext, String, AuthenticationProperties) ChallengeAsync(HttpContext, String, AuthenticationProperties)

Extension method for Challenge.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task ^ ChallengeAsync(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ scheme, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public static System.Threading.Tasks.Task ChallengeAsync (this Microsoft.AspNetCore.Http.HttpContext context, string scheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
static member ChallengeAsync : Microsoft.AspNetCore.Http.HttpContext * string * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
<Extension()>
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

The task.

Applies to