RemoteFailureContext 類別

定義

提供處理常式提供者的失敗內容資訊。

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)
繼承

建構函式

RemoteFailureContext(HttpContext, AuthenticationScheme, RemoteAuthenticationOptions, Exception)

初始化 RemoteFailureContext 的新執行個體。

屬性

Failure

錯誤的易記錯誤訊息。

HttpContext

內容。

(繼承來源 BaseContext<TOptions>)
Options

取得與配置相關聯的驗證選項。

(繼承來源 BaseContext<TOptions>)
Properties

驗證工作階段的其他狀態值。

Request

要求。

(繼承來源 BaseContext<TOptions>)
Response

回應。

(繼承來源 BaseContext<TOptions>)
Result

HandleRequestResult處理常式所使用的 。

(繼承來源 HandleRequestContext<TOptions>)
Scheme

驗證配置。

(繼承來源 BaseContext<TOptions>)

方法

HandleResponse()

中斷此要求的所有處理並返回用戶端。 呼叫端負責產生完整回應。

(繼承來源 HandleRequestContext<TOptions>)
SkipHandler()

停止處理目前處理常式中的要求。

(繼承來源 HandleRequestContext<TOptions>)

適用於