共用方式為


ForbiddenContext(HttpContext, AuthenticationScheme, JwtBearerOptions) 建構函式

定義

初始化 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)

參數

context
HttpContext

內容。

scheme
AuthenticationScheme

驗證配置。

options
JwtBearerOptions

與配置相關聯的驗證選項。

適用於