System.IdentityModel.Selectors 命名空間

System.IdentityModel.Selectors命名空間包含類別,該類別會實作 Windows Communication Foundation (WCF) 宣告架構的識別模型中的驗證。 The System.IdentityModel.Selectors namespace contains classes that implement authentication in the Windows Communication Foundation (WCF) claims-based identity model. 從 .NET Framework 4.5 以及 Windows Identity Foundation (WIF) 整合於 .NET Framework 開始,WCF 宣告式識別模型已由 WIF 所取代。 Beginning with .NET Framework 4.5 and the integration of Windows Identity Foundation (WIF) into the .NET Framework, the WCF claims-based identity model has been superseded by WIF. WIF 提供宣告架構的識別物件模型,此模型可以用來提供跨幾個 Microsoft 產品堆疊的驗證和授權,包括 CLR、WCF 和 ASP.NET。 WIF provides a claims-based identity object model that can be used to provide authentication and authorization across several Microsoft product stacks, including the CLR, WCF, and ASP.NET. 代表安全性權杖和用來處理安全性權杖的 WIF 類別是包含在System.IdentityModel.Tokens命名空間中;例如 SecurityTokenSecurityTokenHandler The WIF classes that represent security tokens and that are used to process security tokens are contained in the System.IdentityModel.Tokens namespace; for example, SecurityToken and SecurityTokenHandler. 從 .NET 4.5 開始,應使用 System.IdentityModel.Tokens 命名空間中的類別,而不使用 System.IdentityModel.Selectors 命名空間中的類別。 Beginning with .NET 4.5, the classes in the System.IdentityModel.Tokens namespace should be used instead of those in the System.IdentityModel.Selectors namespace.

類別

AudienceUriModeValidationHelper

確認 SamlSecurityTokenAuthenticator 屬性設為有效值的 AudienceUriMode 類別之 Helper 類別。A helper class for the SamlSecurityTokenAuthenticator class that verifies that the AudienceUriMode property is set to a valid value.

CardSpaceException

當 CardSpace 服務層上發生了一個或多個例外狀況時所擲回的例外狀況。The exception that is thrown when one or more exceptions have occurred at the CardSpace service level. 造成錯誤的原因將會記錄在事件記錄檔中。The cause of the error will be logged in the event log.

CardSpacePolicyElement

這個類別主要提供給基礎結構使用。This class is intended for use by the infrastructure.

CardSpaceSelector

提供可存取 Managed 程式碼中所支援的所有 CardSpace 公用作業。Provides access to all CardSpace public operations that are supported in managed code.

CustomUserNameSecurityTokenAuthenticator

使用自訂驗證配置,驗證 UserNameSecurityToken 安全性權杖。Authenticates a UserNameSecurityToken security token using a custom authentication scheme.

IdentityValidationException

指出收件者憑證無效的例外狀況類別。Exception class to indicate that the recipient certificate was not valid.

KerberosSecurityTokenAuthenticator

驗證 KerberosReceiverSecurityToken 安全性權杖。Authenticates a KerberosReceiverSecurityToken security token.

KerberosSecurityTokenProvider

表示安全性權杖提供者,這個提供者會為 SOAP 訊息寄件者提供 KerberosRequestorSecurityToken 安全性權杖。Represents a security token provider that provides KerberosRequestorSecurityToken security tokens for a SOAP message sender.

PolicyValidationException

例外狀況類別,表示無法驗證收件者提供的原則。Exception class to indicate that the policy supplied by the recipient could not be validated.

RsaSecurityTokenAuthenticator

驗證 RsaSecurityToken 安全性權杖。Authenticates a RsaSecurityToken security token.

SamlSecurityTokenAuthenticator

驗證 SamlSecurityToken 安全性權杖。Authenticates a SamlSecurityToken security token.

SecurityTokenAuthenticator

驗證安全性權杖。Authenticates a security token.

SecurityTokenManager

表示安全性權杖管理員,指定安全性權杖的提供、驗證及序列化方式。Represents a security token manager that specifies how security tokens are provided, authenticated, and serialized.

SecurityTokenProvider

表示安全性權杖提供者,這個提供者可處理 SOAP 訊息寄件者的安全性權杖。Represents a security token provider that handles security tokens for a SOAP message sender.

SecurityTokenProvider.SecurityTokenAsyncResult

封裝委派上非同步作業的結果。Encapsulates the results of an asynchronous operation on a delegate.

SecurityTokenRequirement

指定安全性權杖需求。Specifies security token requirements.

SecurityTokenResolver

表示公用程式類別,這個公用程式類別可以在您有金鑰識別碼或金鑰識別碼子句時擷取安全性權杖或金鑰。Represents a utility class that can retrieve security tokens or keys when you have a key identifier or key identifier clause.

SecurityTokenSerializer

表示可以讀取和寫入金鑰識別碼、金鑰識別碼子句及安全性權杖的類別。Represents a class that can read and write key identifiers, key identifier clauses, and security tokens.

SecurityTokenVersion

表示用來定義安全性權杖所使用的規格,例如 WS-* 規格。Represents the specifications, such as the WS-*specifications, that security tokens are defined in.

ServiceBusyException

例外狀況類別,表示 CardSpace 服務正忙於處理其他要求。Exception class to indicate that the CardSpace service is busy processing other requests.

ServiceNotStartedException

當 CardSpace 未在使用者電腦上啟動時所擲回的例外狀況。The exception that is thrown when CardSpace has not been started on the user's computer.

StsCommunicationException

當發生與安全性權杖服務通訊的問題時,所擲回的例外狀況。The exception that is thrown when there is a problem communicating with the security token service.

UnsupportedPolicyOptionsException

指出已將原則提供給包含不支援之選項的系統。Indicates that a policy was provided to the system that included options that were unsupported.

UntrustedRecipientException

例外狀況,這是當使用者在檢閱憑證中資訊之後,決定不要信任要求權杖的實體 (Entity) 時所擲回的例外狀況。The exception that is thrown when the user decides not to trust the entity that is requesting a token after reviewing the information from their certificate.

UserCancellationException

當使用者在 GetToken(CardSpacePolicyElement[], SecurityTokenSerializer) 呼叫期間取消作業時,所擲回的例外狀況。The exception that is thrown when the user cancels an operation during the GetToken(CardSpacePolicyElement[], SecurityTokenSerializer) call.

UserNamePasswordValidator

驗證使用者名稱和密碼.Validates a username and password.

UserNameSecurityTokenAuthenticator

驗證 UserNameSecurityToken 安全性權杖。Authenticates a UserNameSecurityToken security token.

UserNameSecurityTokenProvider

表示安全性權杖提供者,這個提供者會為 SOAP 訊息寄件者提供 UserNameSecurityToken 安全性權杖。Represents a security token provider that provides UserNameSecurityToken security tokens for a SOAP message sender.

WindowsSecurityTokenAuthenticator

使用 Windows 驗證來驗證 WindowsSecurityToken 安全性權杖。Uses Windows authentication to authenticate the WindowsSecurityToken security token.

WindowsUserNameSecurityTokenAuthenticator

使用 Windows 驗證來驗證 UserNameSecurityToken 安全性權杖中的使用者名稱和密碼。Uses Windows authentication to authenticate the user name and password in a UserNameSecurityToken security token.

X509CertificateValidator

驗證 X.509 憑證。Validates an X.509 certificate.

X509SecurityTokenAuthenticator

驗證 X509SecurityTokenAuthenticates an X509SecurityToken.

X509SecurityTokenProvider

表示安全性權杖提供者,這個提供者會為 SOAP 訊息寄件者提供 X509SecurityToken 安全性權杖。Represents a security token provider that provides X509SecurityToken security tokens for a SOAP message sender.

列舉

AudienceUriMode

指定是否應驗證 SamlSecurityToken 安全性權杖的 SamlAudienceRestrictionConditionSpecifies whether the SamlSecurityToken security token's SamlAudienceRestrictionCondition should be validated.