AuthenticationFailedContext 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public ref class AuthenticationFailedContext : Microsoft::AspNetCore::Authentication::OpenIdConnect::BaseOpenIdConnectContextpublic ref class AuthenticationFailedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::OpenIdConnect::OpenIdConnectOptions ^>public class AuthenticationFailedContext : Microsoft.AspNetCore.Authentication.OpenIdConnect.BaseOpenIdConnectContextpublic class AuthenticationFailedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectOptions>type AuthenticationFailedContext = class
    inherit BaseOpenIdConnectContexttype AuthenticationFailedContext = class
    inherit RemoteAuthenticationContext<OpenIdConnectOptions>Public Class AuthenticationFailedContext
Inherits BaseOpenIdConnectContextPublic Class AuthenticationFailedContext
Inherits RemoteAuthenticationContext(Of OpenIdConnectOptions)- 继承
- 继承
- 
				AuthenticationFailedContext
构造函数
| AuthenticationFailedContext(HttpContext, AuthenticationScheme, OpenIdConnectOptions) | 初始化 AuthenticationFailedContext 的新实例。 | 
| AuthenticationFailedContext(HttpContext, OpenIdConnectOptions) | 
属性
方法
| CheckEventResult(AuthenticateResult) | 的 AuthenticationFailed(AuthenticationFailedContext)上下文。(继承自 BaseControlContext) | 
| Fail(Exception) | 指示身份验证失败。(继承自 RemoteAuthenticationContext<TOptions>) | 
| Fail(String) | 指示身份验证失败。(继承自 RemoteAuthenticationContext<TOptions>) | 
| HandleResponse() | 停止针对此请求的所有处理并返回到客户端。 调用方负责生成完整响应。 设置 以 Ticket 触发 SignIn。(继承自 BaseControlContext) | 
| HandleResponse() | 停止针对此请求的所有处理并返回到客户端。 调用方负责生成完整响应。(继承自 HandleRequestContext<TOptions>) | 
| SkipHandler() | 停止处理当前处理程序中的请求。(继承自 HandleRequestContext<TOptions>) | 
| SkipToNextMiddleware() | 停止处理当前中间件中的请求并将控制权传递给下一个项。 不会调用 SignIn。(继承自 BaseControlContext) | 
| Success() | 使用 和 Properties调用成功创建票证Principal。(继承自 RemoteAuthenticationContext<TOptions>) |