共用方式為


JwtBearerEvents.Challenge(JwtBearerChallengeContext) 方法

定義

在挑戰傳回給呼叫端之前叫用。

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

參數

傳回

實作

適用於