Bearbeiten

Teilen über


System.IdentityModel.Selectors Namespace

Contains classes that implement authentication in the Windows Communication Foundation (WCF) claims-based identity model.

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 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. 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. 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.

Classes

AudienceUriModeValidationHelper

A helper class for the SamlSecurityTokenAuthenticator class that verifies that the AudienceUriMode property is set to a valid value.

CardSpaceException

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

Provides access to all CardSpace public operations that are supported in managed code.

CustomUserNameSecurityTokenAuthenticator

Authenticates a UserNameSecurityToken security token using a custom authentication scheme.

IdentityValidationException

Exception class to indicate that the recipient certificate was not valid.

KerberosSecurityTokenAuthenticator

Authenticates a KerberosReceiverSecurityToken security token.

KerberosSecurityTokenProvider

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

Authenticates a RsaSecurityToken security token.

SamlSecurityTokenAuthenticator

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

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

Represents the specifications, such as the WS-*specifications, that security tokens are defined in.

ServiceBusyException

Exception class to indicate that the CardSpace service is busy processing other requests.

ServiceNotStartedException

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

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

The exception that is thrown when the user cancels an operation during the GetToken(CardSpacePolicyElement[], SecurityTokenSerializer) call.

UserNamePasswordValidator

Validates a username and password.

UserNameSecurityTokenAuthenticator

Authenticates a UserNameSecurityToken security token.

UserNameSecurityTokenProvider

Represents a security token provider that provides UserNameSecurityToken security tokens for a SOAP message sender.

WindowsSecurityTokenAuthenticator

Uses Windows authentication to authenticate the WindowsSecurityToken security token.

WindowsUserNameSecurityTokenAuthenticator

Uses Windows authentication to authenticate the user name and password in a UserNameSecurityToken security token.

X509CertificateValidator

Validates an X.509 certificate.

X509SecurityTokenAuthenticator

Authenticates an X509SecurityToken.

X509SecurityTokenProvider

Represents a security token provider that provides X509SecurityToken security tokens for a SOAP message sender.

Enums

AudienceUriMode

Specifies whether the SamlSecurityToken security token's SamlAudienceRestrictionCondition should be validated.