ForbiddenContext(HttpContext, AuthenticationScheme, JwtBearerOptions) Constructor
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.
Initializes a new instance of ForbiddenContext.
public:
ForbiddenContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::JwtBearer::JwtBearerOptions ^ options);
public ForbiddenContext (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions options);
new Microsoft.AspNetCore.Authentication.JwtBearer.ForbiddenContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerOptions -> Microsoft.AspNetCore.Authentication.JwtBearer.ForbiddenContext
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.