JwtBearerOptions.Events 属性

定义

应用程序提供的对象,用于处理持有者身份验证中间件引发的事件。 应用程序可以完全实现 接口,也可以创建 JwtBearerAuthenticationEvents 的实例,并将委托仅分配给它想要处理的事件。

public:
 property Microsoft::AspNetCore::Authentication::JwtBearer::IJwtBearerEvents ^ Events { Microsoft::AspNetCore::Authentication::JwtBearer::IJwtBearerEvents ^ get(); void set(Microsoft::AspNetCore::Authentication::JwtBearer::IJwtBearerEvents ^ value); };
public Microsoft.AspNetCore.Authentication.JwtBearer.IJwtBearerEvents Events { get; set; }
member this.Events : Microsoft.AspNetCore.Authentication.JwtBearer.IJwtBearerEvents with get, set
Public Property Events As IJwtBearerEvents

属性值

适用于