JwtBearerChallengeContext 构造函数

定义

重载

JwtBearerChallengeContext(HttpContext, JwtBearerOptions, AuthenticationProperties)
JwtBearerChallengeContext(HttpContext, AuthenticationScheme, JwtBearerOptions, AuthenticationProperties)

初始化 JwtBearerChallengeContext 的新实例。

JwtBearerChallengeContext(HttpContext, JwtBearerOptions, AuthenticationProperties)

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

参数

context
HttpContext

适用于

JwtBearerChallengeContext(HttpContext, AuthenticationScheme, JwtBearerOptions, AuthenticationProperties)

Source:
JwtBearerChallengeContext.cs
Source:
JwtBearerChallengeContext.cs
Source:
JwtBearerChallengeContext.cs
Source:
JwtBearerChallengeContext.cs
Source:
JwtBearerChallengeContext.cs
Source:
JwtBearerChallengeContext.cs
Source:
JwtBearerChallengeContext.cs
Source:
JwtBearerChallengeContext.cs
Source:
JwtBearerChallengeContext.cs

初始化 JwtBearerChallengeContext 的新实例。

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

参数

context
HttpContext

上下文。

scheme
AuthenticationScheme

身份验证方案。

options
JwtBearerOptions

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

properties
AuthenticationProperties

身份验证属性。

适用于