AuthenticationFailedContext Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
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)
Paramètres
- context
- HttpContext
- options
- JwtBearerOptions
S’applique à
AuthenticationFailedContext(HttpContext, AuthenticationScheme, JwtBearerOptions)
Initialise une nouvelle instance de 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)
Paramètres
- context
- HttpContext
Contexte.
- scheme
- AuthenticationScheme
Schéma d'authentification.
- options
- JwtBearerOptions
Options d’authentification associées au schéma.