Delen via


JwtBearerEvents.OnMessageReceived Property

Definition

Invoked when a protocol message is first received.

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)

Property Value

Applies to