System.IdentityModel.Services 命名空間

包含在使用 Windows Identity Foundation (WIF) 建置的應用程式中,用來透過 WS-Federation 通訊協定執行同盟驗證的類別。 它包含 HTTP 模組 WSFederationAuthenticationModule (WSFAM) 和 SessionAuthenticationModule (SAM),以及可支援其作業的類別。 WSFAM 會提供 WS-Federation 登入和登出順序處理,而 SAM 會經由維護和處理 cookie 提供工作階段管理。 此命名空間也包含代表 WS-Federation 訊息 (WSFederationMessage) 的類別,例如登入 (SignInRequestMessageSignInResponseMessage) 和登出訊息 (SignOutRequestMessage),以及包含在物件模型之間進行序列化和還原序列化的序列化程式,還有這些訊息的在線表示法。

類別

AsynchronousOperationException

非同步作業期間發生錯誤時所擲回的例外狀況。

AttributeRequestMessage

代表「WS-同盟屬性要求」訊息。 當收到的訊息中的 wa 參數為 "wattr1.0" 時,則會建立這個訊息。

AuthorizationFailedEventArgs

提供 AuthorizationFailed 事件的資料。

ChunkedCookieHandler

表將寫入 Cookie 資料的 Cookie 處理常式,使 Cookie 絕不會超過固定大小。

ChunkedCookieHandlerElement

代表 <chunkedCookieHandler> 組態項目。

ClaimsAuthorizationModule

表示 HTTP 模組,可執行宣告型授權。

ClaimsPrincipalPermission

表示權限,會使用ClaimsAuthorizationManager實作來判斷是否應授與使用中的主體資源存取權。 此類別無法獲得繼承。

ClaimsPrincipalPermissionAttribute

表示在目前應用程式內容中,用來根據ClaimsAuthorizationManager執行個體提供之邏輯宣告指派存取檢查的安全性屬性。 此類別無法獲得繼承。

CookieHandler

提供抽象基底類別,以在 HTTP 用戶端用來讀取、寫入和刪除工作階段 Cookie。

CookieHandlerElement

代表 <cookieHandler> 組態項目。

ErrorEventArgs

提供 SignOutError 事件的資料。

FederatedAuthentication

提供與 web 應用程式中之聯合驗證相關的所有 HTTP 模組狀態的存取。

FederatedAuthenticationSessionEndingException

指出登入工作階段應該正在終止,而且目前的要求是未經驗證。

FederatedPassiveSecurityTokenServiceOperations

封裝通常由被動式同盟安全性權杖服務所執行之作業的公用程式類別。

FederatedSessionExpiredException

工作階段過期時所擲回的例外狀況。

FederationException

WS-Federation 支援中所引發之例外狀況的基底類別。

FederationManagement

定義用來建立 Federation 中繼資料文件以及根據 Federation 中繼資料文件更新應用程式組態的靜態方法。

FederationMessage

定義衍生所有同盟訊息類別的基底類別。

HttpModuleBase

基底類別,可於 <system.identityModel.services> 項目 (SystemIdentityModelServicesSection) 設定的 HTTP 模組由這個基底類別衍生。

MachineKeyTransform

使用 web.config 或 machine.config 組態檔之 <machineKey> 區段中所指定的密碼編譯資料,保護工作階段權杖。

PseudonymRequestMessage

代表「WS-同盟 Pseudonym 要求」訊息。 當收到的訊息 wa 參數為 "wpseudo1.0" 時,即會建立這個訊息。

RedirectingToIdentityProviderEventArgs

提供 RedirectingToIdentityProvider 事件的資料。

SecurityTokenReceivedEventArgs

提供 SecurityTokenReceived 事件的資料。

SecurityTokenValidatedEventArgs

提供 SecurityTokenValidated 事件的資料。

ServiceCertificateElement

表示組態檔中的 <serviceCertificate> 項目。

SessionAuthenticationModule

實作 ASP.NET 模組,它會處理在 WS-Federation 案例中的工作階段 cookie。

SessionSecurityTokenCreatedEventArgs

提供 SessionSecurityTokenCreated 事件和 SessionSecurityTokenCreated 事件的資料。

SessionSecurityTokenReceivedEventArgs

提供 SessionSecurityTokenReceived 事件的資料。

SessionSecurityTokenResolver

解決目前快取的工作階段安全性權杖。

SigningOutEventArgs

提供 SigningOut 事件的資料。

SignInRequestMessage

代表「WS-同盟登入要求」訊息。

SignInResponseMessage

代表「WS-同盟回應要求」訊息。

SignOutCleanupRequestMessage

代表「WS-同盟登出清除」訊息。 當收到的訊息的動作參數 (wa) 是設定為 "wsignoutcleanup1.0" 時,就會建立訊息。

SignOutRequestMessage

代表 WS-同盟登出訊息。 當收到的訊息的動作參數 (wa) 是設定為 "wsignout1.0" 時,則會建立這個訊息。

WSFederationAuthenticationModule

WSFederationAuthenticationModule是 HTTP 模組,用來藉由對連入要求強制執行同盟驗證設定來保護 ASP.NET 應用程式。 WSFederationAuthenticationModule 是 WIF 現成提供的主要模組,用於處理 ASP.NET 應用程式中的宣告式識別存取。

WSFederationAuthenticationModule會引發數個事件,它可讓 ASP.NET 開發人員變更預設行為,並控制驗證和宣告處理發生方式的詳細資訊。 WSFederationAuthenticationModule功能會分為特定工作的方法。

WSFederationMessage

表示 WS-同盟訊息訊息並定義基底類別,更多特殊的 WS-同盟訊息類別都是從這個基底類別衍生的。

WSFederationMessageException

在 WS-Federation 訊息序列化 (Serialization) 或還原序列化 (Deserialization) 期間發生錯誤時,所擲回的例外狀況。

WSFederationSerializer

提供方法來將 WS-Federation 訊息轉換為 WS-Trust 通訊協定特定的 RequestSecurityTokenRequestSecurityTokenResponse 物件。

列舉

ApplicationType

指定應用程式的類型。

CookieHandlerMode

指定所支援的 cookie 處理常式模式。

定義 Mode 屬性的可能值。 此屬性會定義 CookieHandlerElement物件所設定的 Cookie 處理常式類型。 如需詳細資訊,請參閱 CookieHandlerElement 類別。