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