Поделиться через


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)

Значение свойства

Применяется к