AuthenticationFailedContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AuthenticationFailedContext(HttpContext, JwtBearerOptions) | |
AuthenticationFailedContext(HttpContext, AuthenticationScheme, JwtBearerOptions) |
Initializes a new instance of AuthenticationFailedContext. |
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)
Parameters
- context
- HttpContext
- options
- JwtBearerOptions
Applies to
AuthenticationFailedContext(HttpContext, AuthenticationScheme, JwtBearerOptions)
Initializes a new instance of 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)
Parameters
- context
- HttpContext
The context.
- scheme
- AuthenticationScheme
The authentication scheme.
- options
- JwtBearerOptions
The authentication options associated with the scheme.