JwtBearerEvents.Challenge(JwtBearerChallengeContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在挑戰傳回給呼叫端之前叫用。
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
參數
- context
- JwtBearerChallengeContext