共用方式為


JwtBearerEvents.OnMessageReceived 屬性

定義

第一次收到通訊協定訊息時叫用。

public:
 property Func<Microsoft::AspNetCore::Authentication::JwtBearer::MessageReceivedContext ^, System::Threading::Tasks::Task ^> ^ OnMessageReceived { Func<Microsoft::AspNetCore::Authentication::JwtBearer::MessageReceivedContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::JwtBearer::MessageReceivedContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext,System.Threading.Tasks.Task> OnMessageReceived { get; set; }
member this.OnMessageReceived : Func<Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext, System.Threading.Tasks.Task> with get, set
Public Property OnMessageReceived As Func(Of MessageReceivedContext, Task)

屬性值

適用於