共用方式為


JwtBearerOptions.Events 屬性

定義

應用程式所提供的 物件,用來處理持有人驗證處理常式所引發的事件。 應用程式可以完整實作 介面,也可以建立 JwtBearerEvents 的實例,並只將委派指派給想要處理的事件。

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

屬性值

適用於