JwtBearerEvents.OnChallenge 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在质询发送回调用方之前调用。
public:
property Func<Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerChallengeContext ^, System::Threading::Tasks::Task ^> ^ OnChallenge { Func<Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerChallengeContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerChallengeContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext,System.Threading.Tasks.Task> OnChallenge { get; set; }
member this.OnChallenge : Func<Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext, System.Threading.Tasks.Task> with get, set
Public Property OnChallenge As Func(Of JwtBearerChallengeContext, Task)