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


ForbiddenContext(HttpContext, AuthenticationScheme, JwtBearerOptions) Конструктор

Определение

Инициализирует новый экземпляр ForbiddenContext.

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

Параметры

context
HttpContext

Контекст.

scheme
AuthenticationScheme

Схема проверки подлинности.

options
JwtBearerOptions

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

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