AuthenticationFailedContext Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
AuthenticationFailedContext(HttpContext, JwtBearerOptions) | |
AuthenticationFailedContext(HttpContext, AuthenticationScheme, JwtBearerOptions) |
Menginisialisasi instans AuthenticationFailedContextbaru . |
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)
Parameter
- context
- HttpContext
- options
- JwtBearerOptions
Berlaku untuk
AuthenticationFailedContext(HttpContext, AuthenticationScheme, JwtBearerOptions)
Menginisialisasi instans AuthenticationFailedContextbaru .
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)
Parameter
- context
- HttpContext
Konteksnya.
- scheme
- AuthenticationScheme
Skema autentikasi.
- options
- JwtBearerOptions
Opsi autentikasi yang terkait dengan skema.