IJwtBearerEvents.MessageReceived(MessageReceivedContext) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
首次收到协议消息时调用。
public:
System::Threading::Tasks::Task ^ MessageReceived(Microsoft::AspNetCore::Authentication::JwtBearer::MessageReceivedContext ^ context);
public System.Threading.Tasks.Task MessageReceived (Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext context);
abstract member MessageReceived : Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext -> System.Threading.Tasks.Task
Public Function MessageReceived (context As MessageReceivedContext) As Task
参数
- context
- MessageReceivedContext