BearerTokenEvents.OnMessageReceived 属性

定义

首次收到协议消息时调用。

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

属性值

适用于