共用方式為


IJwtBearerEvents.Challenge(JwtBearerChallengeContext) 方法

定義

叫用以套用傳回給呼叫端的挑戰。

public:
 System::Threading::Tasks::Task ^ Challenge(Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerChallengeContext ^ context);
public System.Threading.Tasks.Task Challenge (Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext context);
abstract member Challenge : Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext -> System.Threading.Tasks.Task
Public Function Challenge (context As JwtBearerChallengeContext) As Task

參數

傳回

適用於