JwtBearerEvents.MessageReceived(MessageReceivedContext) 方法

定义

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

public:
 virtual System::Threading::Tasks::Task ^ MessageReceived(Microsoft::AspNetCore::Authentication::JwtBearer::MessageReceivedContext ^ context);
public virtual System.Threading.Tasks.Task MessageReceived (Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext context);
abstract member MessageReceived : Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext -> System.Threading.Tasks.Task
override this.MessageReceived : Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext -> System.Threading.Tasks.Task
Public Overridable Function MessageReceived (context As MessageReceivedContext) As Task

参数

返回

实现

适用于