TokenValidatedContext 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
TokenValidatedContext(HttpContext, JwtBearerOptions) | |
TokenValidatedContext(HttpContext, AuthenticationScheme, JwtBearerOptions) |
初始化 TokenValidatedContext 的新实例。 |
TokenValidatedContext(HttpContext, JwtBearerOptions)
public:
TokenValidatedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::JwtBearerOptions ^ options);
public TokenValidatedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.JwtBearerOptions options);
new Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.JwtBearerOptions -> Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext
Public Sub New (context As HttpContext, options As JwtBearerOptions)
参数
- context
- HttpContext
- options
- JwtBearerOptions
适用于
TokenValidatedContext(HttpContext, AuthenticationScheme, JwtBearerOptions)
- Source:
- TokenValidatedContext.cs
- Source:
- TokenValidatedContext.cs
- Source:
- TokenValidatedContext.cs
- Source:
- TokenValidatedContext.cs
- Source:
- TokenValidatedContext.cs
- Source:
- TokenValidatedContext.cs
- Source:
- TokenValidatedContext.cs
- Source:
- TokenValidatedContext.cs
- Source:
- TokenValidatedContext.cs
初始化 TokenValidatedContext 的新实例。
public:
TokenValidatedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerOptions ^ options);
public TokenValidatedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions options);
new Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions -> Microsoft.AspNetCore.Authentication.JwtBearer.TokenValidatedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As JwtBearerOptions)
参数
- context
- HttpContext
上下文。
- scheme
- AuthenticationScheme
身份验证方案。
- options
- JwtBearerOptions
与方案关联的身份验证选项。