AuthenticationHandler<TOptions>.ChallengeAsync 方法

定义

重载

ChallengeAsync(AuthenticationProperties)

质询当前请求。

ChallengeAsync(ChallengeContext)

ChallengeAsync(AuthenticationProperties)

Source:
AuthenticationHandler.cs
Source:
AuthenticationHandler.cs
Source:
AuthenticationHandler.cs

质询当前请求。

public:
 virtual System::Threading::Tasks::Task ^ ChallengeAsync(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public System.Threading.Tasks.Task ChallengeAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public System.Threading.Tasks.Task ChallengeAsync (Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
abstract member ChallengeAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
override this.ChallengeAsync : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Function ChallengeAsync (properties As AuthenticationProperties) As Task

参数

properties
AuthenticationProperties

包含 AuthenticationProperties 随身份验证一起到达的额外元数据的 。

返回

任务。

实现

适用于

ChallengeAsync(ChallengeContext)

public:
 virtual System::Threading::Tasks::Task ^ ChallengeAsync(Microsoft::AspNetCore::Http::Features::Authentication::ChallengeContext ^ context);
public System.Threading.Tasks.Task ChallengeAsync (Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext context);
abstract member ChallengeAsync : Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext -> System.Threading.Tasks.Task
override this.ChallengeAsync : Microsoft.AspNetCore.Http.Features.Authentication.ChallengeContext -> System.Threading.Tasks.Task
Public Function ChallengeAsync (context As ChallengeContext) As Task

参数

返回

实现

适用于