Share via


RedirectContext 類別

定義

當使用者將 設定為 WsFederationHandler 在重新導向至 IdentityProvider 之前收到通知時,實例 RedirectContext 會傳遞至 'RedirectToAuthenticationEndpoint' 或 'RedirectToEndSessionEndpoint' 事件。

public ref class RedirectContext : Microsoft::AspNetCore::Authentication::PropertiesContext<Microsoft::AspNetCore::Authentication::WsFederation::WsFederationOptions ^>
public class RedirectContext : Microsoft.AspNetCore.Authentication.PropertiesContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>
type RedirectContext = class
    inherit PropertiesContext<WsFederationOptions>
Public Class RedirectContext
Inherits PropertiesContext(Of WsFederationOptions)
繼承

建構函式

RedirectContext(HttpContext, AuthenticationScheme, WsFederationOptions, AuthenticationProperties)

建立新的內容物件。

屬性

Handled

如果為 true,將會略過此重新導向的任何預設邏輯。

HttpContext

內容。

(繼承來源 BaseContext<TOptions>)
Options

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

(繼承來源 BaseContext<TOptions>)
Properties

取得或設定 AuthenticationProperties

(繼承來源 PropertiesContext<TOptions>)
ProtocolMessage

WsFederationMessage用來撰寫重新導向的 。

Request

要求。

(繼承來源 BaseContext<TOptions>)
Response

回應。

(繼承來源 BaseContext<TOptions>)
Scheme

驗證配置。

(繼承來源 BaseContext<TOptions>)

方法

HandleResponse()

略過此重新導向的任何預設邏輯。

適用於