JwtBearerChallengeContext Constructors
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.
public:
JwtBearerChallengeContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::JwtBearerOptions ^ options, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
C#
public JwtBearerChallengeContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.JwtBearerOptions options, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.JwtBearerOptions * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext
Public Sub New (context As HttpContext, options As JwtBearerOptions, properties As AuthenticationProperties)
Parameters
- context
- HttpContext
- options
- JwtBearerOptions
- properties
- AuthenticationProperties
Applies to
ASP.NET Core 1.1 and ASP.NET Core 1.0
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1 |
JwtBearerChallengeContext(HttpContext, AuthenticationScheme, JwtBearerOptions, AuthenticationProperties)
- Source:
- JwtBearerChallengeContext.cs
- Source:
- JwtBearerChallengeContext.cs
- Source:
- JwtBearerChallengeContext.cs
- Source:
- JwtBearerChallengeContext.cs
- Source:
- JwtBearerChallengeContext.cs
- Source:
- JwtBearerChallengeContext.cs
- Source:
- JwtBearerChallengeContext.cs
- Source:
- JwtBearerChallengeContext.cs
- Source:
- JwtBearerChallengeContext.cs
Initializes a new instance of JwtBearerChallengeContext.
public:
JwtBearerChallengeContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerOptions ^ options, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
C#
public JwtBearerChallengeContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions options, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerChallengeContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As JwtBearerOptions, properties As AuthenticationProperties)
Parameters
- context
- HttpContext
The context.
- scheme
- AuthenticationScheme
The authentication scheme.
- options
- JwtBearerOptions
The authentication options associated with the scheme.
- properties
- AuthenticationProperties
The authentication properties.
Applies to
ASP.NET Core 9.0 and other versions
Product | Versions |
---|---|
ASP.NET Core | 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |