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
- scheme
- AuthenticationScheme
- options
- OpenIdConnectOptions