共用方式為


MessageReceivedContext 建構函式

定義

初始化 MessageReceivedContext 的新執行個體。

public MessageReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions options);
new Microsoft.AspNetCore.Authentication.BearerToken.MessageReceivedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.BearerToken.BearerTokenOptions -> Microsoft.AspNetCore.Authentication.BearerToken.MessageReceivedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As BearerTokenOptions)

參數

context
HttpContext

內容。

scheme
AuthenticationScheme

驗證配置。

options
BearerTokenOptions

與配置相關聯的驗證選項。

適用於