Compartilhar via


JwtBearerEvents.OnMessageReceived Propriedade

Definição

É invocado quando uma mensagem de protocolo é recebida pela primeira vez.

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)

Valor da propriedade

Aplica-se a