IdentityConfiguration Class

.NET Framework 4.5

Defines the collection of configurable properties controlling the behavior of the Windows Identity Foundation.

Namespace:  System.IdentityModel.Configuration
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public class IdentityConfiguration

The IdentityConfiguration type exposes the following members.

  NameDescription
Public methodIdentityConfiguration()Initializes a new instance of the IdentityConfiguration class. Settings are loaded from the default configuration, if it exists.
Public methodIdentityConfiguration(Boolean)Initializes a new instance of the IdentityConfiguration class by using a value that specifies whether settings should be loaded from the default configuration.
Public methodIdentityConfiguration(String)Initializes a new instance of the IdentityConfiguration class. Settings are loaded from the named configuration.
Public methodIdentityConfiguration(X509Certificate2)Initializes a new instance of the IdentityConfiguration class that has the specified service certificate.
Public methodIdentityConfiguration(Boolean, X509Certificate2)Initializes a new instance of the IdentityConfiguration class that has the specified service certificate. Settings are optionally loading the default configuration.
Public methodIdentityConfiguration(String, X509Certificate2)Initializes a new instance of the IdentityConfiguration class that has the specified service certificate, loading the named configuration.
Top

  NameDescription
Public propertyAudienceRestrictionGets or sets the configured AudienceRestriction.
Public propertyCachesGets or sets the configured IdentityModelCaches.
Public propertyCertificateValidationModeGets or sets the certificate validation mode used by handlers to validate issuer certificates.
Public propertyCertificateValidatorGets or sets the certificate validator used by handlers to validate issuer certificates.
Public propertyClaimsAuthenticationManagerGets or sets the claims authentication manager. The default is an instance of the ClaimsAuthenticationManager class.
Public propertyClaimsAuthorizationManagerGets or sets the claims authorization manager.
Public propertyDetectReplayedTokensGets or sets a value in the default handler configuration that indicates whether handlers should detect replayed tokens.
Public propertyIsInitializedGets or sets a value that indicates whether the Initialize method has been called.
Public propertyIssuerNameRegistryGets or sets the issuer name registry used to resolve issuer names.
Public propertyIssuerTokenResolverGets or sets the issuer token resolver.
Public propertyMaxClockSkewGets or sets the maximum allowable time difference between the system clocks of the two parties that are communicating.
Public propertyNameGets the service name of this configuration.
Public propertyRevocationModeGets or sets the revocation mode used by handlers to validate issuer certificates.
Public propertySaveBootstrapContextGets or sets a value that indicates whether the BootstrapContext object is saved in the ClaimsIdentity and Sessions after token validation.
Public propertySecurityTokenHandlerCollectionManagerGets the SecurityTokenHandlerCollectionManager containing the set of SecurityTokenHandler objects that are used to serialize and validate tokens found in WS-Trust messages.
Public propertySecurityTokenHandlersGets the collection of SecurityTokenHandler objects used to serialize and validate tokens found in WS-Trust messages.
Public propertyServiceCertificateGets or sets the service certificate.
Public propertyServiceTokenResolverGets or sets the service token resolver.
Public propertyTokenReplayCacheExpirationPeriodGets or sets the expiration period for items placed in the TokenReplayCache.
Public propertyTrustedStoreLocationGets or sets the trusted store location used by handlers to validate issuer certificates.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeUpdates properties in the SecurityTokenHandlerConfiguration objects for the SecurityTokenHandlerCollection objects contained in the SecurityTokenHandlerCollectionManager to be consistent with the property values on this IdentityConfiguration instance.
Protected methodLoadConfigurationLoads the settings for this IdentityConfiguration instance from the application or Web configuration file.
Protected methodLoadHandlerConfiguration(IdentityConfigurationElement)Loads a SecurityTokenHandlerConfiguration by using the elements directly under the specified IdentityConfigurationElement.
Protected methodLoadHandlerConfiguration(SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement)Loads configuration elements pertaining to the SecurityTokenHandlerCollection.
Protected methodLoadHandlersLoads the SecurityTokenHandlerCollectionManager defined for the specified service.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberDefaultCertificateValidationModeThe default X.509 certificate validation mode, X509CertificateValidationMode.PeerOrChainTrust.
Public fieldStatic memberDefaultIssuerNameRegistryTypeThe default issuer name registry type; the Type of the ConfigurationBasedIssuerNameRegistry class.
Public fieldStatic memberDefaultMaxClockSkewThe default maximum clock skew; 5 minutes.
Public fieldStatic memberDefaultRevocationModeThe default X.509 revocation mode; X509RevocationMode.Online.
Public fieldStatic memberDefaultServiceNameThe default service name; an empty string.
Public fieldStatic memberDefaultTrustedStoreLocationThe default trusted store location for certificates; StoreLocation.LocalMachine.
Top

.NET Framework

Supported in: 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft