Поделиться через


TokenValidatedContext Конструкторы

Определение

Перегрузки

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

Применяется к

TokenValidatedContext(HttpContext, AuthenticationScheme, JwtBearerOptions)

Исходный код:
TokenValidatedContext.cs
Исходный код:
TokenValidatedContext.cs
Исходный код:
TokenValidatedContext.cs
Исходный код:
TokenValidatedContext.cs
Исходный код:
TokenValidatedContext.cs
Исходный код:
TokenValidatedContext.cs
Исходный код:
TokenValidatedContext.cs
Исходный код:
TokenValidatedContext.cs
Исходный код:
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

Параметры проверки подлинности, связанные со схемой.

Применяется к