共用方式為


IAuthenticationHandler.ChallengeAsync(ChallengeContext) 方法

定義

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

參數

傳回

適用於