RedirectContext 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當使用者將 設定為 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() |
略過此重新導向的任何預設邏輯。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應