FailureContext Class
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.
Provides failure context information to middleware providers.
public ref class FailureContext : Microsoft::AspNetCore::Authentication::BaseControlContext
public class FailureContext : Microsoft.AspNetCore.Authentication.BaseControlContext
type FailureContext = class
inherit BaseControlContext
Public Class FailureContext
Inherits BaseControlContext
- Inheritance
Constructors
FailureContext(HttpContext, Exception) |
Properties
Failure |
User friendly error message for the error. |
HandledResponse | (Inherited from BaseControlContext) |
HttpContext | (Inherited from BaseContext) |
Request | (Inherited from BaseContext) |
Response | (Inherited from BaseContext) |
Skipped | (Inherited from BaseControlContext) |
State | (Inherited from BaseControlContext) |
Ticket |
Gets or set the Ticket to return if this event signals it handled the event. (Inherited from BaseControlContext) |
Methods
CheckEventResult(AuthenticateResult) | (Inherited from BaseControlContext) |
HandleResponse() |
Discontinue all processing for this request and return to the client. The caller is responsible for generating the full response. Set the Ticket to trigger SignIn. (Inherited from BaseControlContext) |
SkipToNextMiddleware() |
Discontinue processing the request in the current middleware and pass control to the next one. SignIn will not be called. (Inherited from BaseControlContext) |