Partilhar via


ForbiddenContext(HttpContext, AuthenticationScheme, JwtBearerOptions) Construtor

Definição

Inicializa uma nova instância de 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)

Parâmetros

context
HttpContext

O contexto.

scheme
AuthenticationScheme

O esquema de autenticação.

options
JwtBearerOptions

As opções de autenticação associadas ao esquema.

Aplica-se a