AuthenticationFailedContext 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| AuthenticationFailedContext(HttpContext, OpenIdConnectOptions) | |
| AuthenticationFailedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions) |
初始化 的新 AuthenticationFailedContext实例。 |
AuthenticationFailedContext(HttpContext, OpenIdConnectOptions)
public:
AuthenticationFailedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Builder::OpenIdConnectOptions ^ options);
public AuthenticationFailedContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Builder.OpenIdConnectOptions options);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Builder.OpenIdConnectOptions -> Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext
Public Sub New (context As HttpContext, options As OpenIdConnectOptions)
参数
- context
- HttpContext
- options
- OpenIdConnectOptions
适用于
AuthenticationFailedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions)
初始化 的新 AuthenticationFailedContext实例。
public:
AuthenticationFailedContext(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^ scheme, Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^ options);
public AuthenticationFailedContext(Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme, Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions options);
new Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Authentication.AuthenticationScheme * Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions -> Microsoft.AspNetCore.Authentication.OpenIdConnect.AuthenticationFailedContext
Public Sub New (context As HttpContext, scheme As AuthenticationScheme, options As OpenIdConnectOptions)
参数
- context
- HttpContext
HTTP 请求上下文。
- scheme
- AuthenticationScheme
身份验证方案。
- options
- OpenIdConnectOptions
OpenID Connect 身份验证选项。