共用方式為


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

屬性值

適用於