Udostępnij za pośrednictwem


ForbiddenContext(HttpContext, AuthenticationScheme, JwtBearerOptions) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy 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)

Parametry

context
HttpContext

Kontekst.

scheme
AuthenticationScheme

Schemat uwierzytelniania.

options
JwtBearerOptions

Opcje uwierzytelniania skojarzone ze schematem.

Dotyczy