MessageReceivedContext 构造函数

定义

重载

MessageReceivedContext(HttpContext, JwtBearerOptions)
MessageReceivedContext(HttpContext, AuthenticationScheme, JwtBearerOptions)

初始化 MessageReceivedContext 的新实例。

MessageReceivedContext(HttpContext, JwtBearerOptions)

public:
 MessageReceivedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::JwtBearerOptions ^ options);
public MessageReceivedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.JwtBearerOptions options);
new Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.JwtBearerOptions -> Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext
Public Sub New (context As HttpContext, options As JwtBearerOptions)

参数

context
HttpContext

适用于

MessageReceivedContext(HttpContext, AuthenticationScheme, JwtBearerOptions)

Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs
Source:
MessageReceivedContext.cs

初始化 MessageReceivedContext 的新实例。

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

参数

context
HttpContext

上下文。

scheme
AuthenticationScheme

身份验证方案。

options
JwtBearerOptions

与方案关联的身份验证选项。

适用于