AuthenticationFailedContext Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
AuthenticationFailedContext(HttpContext, JwtBearerOptions)
public:
AuthenticationFailedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::JwtBearerOptions ^ options);
public AuthenticationFailedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.JwtBearerOptions options);
new Microsoft.AspNetCore.Authentication.JwtBearer.AuthenticationFailedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.JwtBearerOptions -> Microsoft.AspNetCore.Authentication.JwtBearer.AuthenticationFailedContext
Public Sub New (context As HttpContext, options As JwtBearerOptions)
Parametry
- context
- HttpContext
- options
- JwtBearerOptions
Dotyczy
AuthenticationFailedContext(HttpContext, AuthenticationScheme, JwtBearerOptions)
Inicjuje nowe wystąpienie klasy AuthenticationFailedContext.
public:
AuthenticationFailedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerOptions ^ options);
public AuthenticationFailedContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions options);
new Microsoft.AspNetCore.Authentication.JwtBearer.AuthenticationFailedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions -> Microsoft.AspNetCore.Authentication.JwtBearer.AuthenticationFailedContext
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.