BearerTokenEvents.MessageReceivedAsync(MessageReceivedContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
第一次收到通訊協定訊息時叫用。
public virtual System.Threading.Tasks.Task MessageReceivedAsync (Microsoft.AspNetCore.Authentication.BearerToken.MessageReceivedContext context);
abstract member MessageReceivedAsync : Microsoft.AspNetCore.Authentication.BearerToken.MessageReceivedContext -> System.Threading.Tasks.Task
override this.MessageReceivedAsync : Microsoft.AspNetCore.Authentication.BearerToken.MessageReceivedContext -> System.Threading.Tasks.Task
Public Overridable Function MessageReceivedAsync (context As MessageReceivedContext) As Task