RemoteFailureContext 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 handler providers.
public ref class RemoteFailureContext : Microsoft::AspNetCore::Authentication::HandleRequestContext<Microsoft::AspNetCore::Authentication::RemoteAuthenticationOptions ^>
public class RemoteFailureContext : Microsoft.AspNetCore.Authentication.HandleRequestContext<Microsoft.AspNetCore.Authentication.RemoteAuthenticationOptions>
type RemoteFailureContext = class
inherit HandleRequestContext<RemoteAuthenticationOptions>
Public Class RemoteFailureContext
Inherits HandleRequestContext(Of RemoteAuthenticationOptions)
- Inheritance
Constructors
RemoteFailureContext(HttpContext, AuthenticationScheme, RemoteAuthenticationOptions, Exception) |
Initializes a new instance of RemoteFailureContext. |
Properties
Failure |
User friendly error message for the error. |
HttpContext |
The context. (Inherited from BaseContext<TOptions>) |
Options |
Gets the authentication options associated with the scheme. (Inherited from BaseContext<TOptions>) |
Properties |
Additional state values for the authentication session. |
Request |
The request. (Inherited from BaseContext<TOptions>) |
Response |
The response. (Inherited from BaseContext<TOptions>) |
Result |
The HandleRequestResult which is used by the handler. (Inherited from HandleRequestContext<TOptions>) |
Scheme |
The authentication scheme. (Inherited from BaseContext<TOptions>) |
Methods
HandleResponse() |
Discontinue all processing for this request and return to the client. The caller is responsible for generating the full response. (Inherited from HandleRequestContext<TOptions>) |
SkipHandler() |
Discontinue processing the request in the current handler. (Inherited from HandleRequestContext<TOptions>) |