IAuthenticationHandler.ChallengeAsync(AuthenticationProperties) 方法

定义

质询当前请求。

public:
 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
Public Function ChallengeAsync (properties As AuthenticationProperties) As Task

参数

properties
AuthenticationProperties

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

返回

任务。

适用于