IdentityConfiguration Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

System.Object
  System.IdentityModel.Configuration.IdentityConfiguration
    System.IdentityModel.Configuration.SecurityTokenServiceConfiguration

public class IdentityConfiguration

NameDescription
System_CAPS_pubmethodIdentityConfiguration()

Initializes a new instance of the IdentityConfiguration class. Settings are loaded from the default configuration, if it exists.

System_CAPS_pubmethodIdentityConfiguration(Boolean)

Initializes a new instance of the IdentityConfiguration class by using a value that specifies whether settings should be loaded from the default configuration.

System_CAPS_pubmethodIdentityConfiguration(Boolean, X509Certificate2)

Initializes a new instance of the IdentityConfiguration class that has the specified service certificate. Settings are optionally loading the default configuration.

System_CAPS_pubmethodIdentityConfiguration(String)

Initializes a new instance of the IdentityConfiguration class. Settings are loaded from the named configuration.

System_CAPS_pubmethodIdentityConfiguration(String, X509Certificate2)

Initializes a new instance of the IdentityConfiguration class that has the specified service certificate, loading the named configuration.

System_CAPS_pubmethodIdentityConfiguration(X509Certificate2)

Initializes a new instance of the IdentityConfiguration class that has the specified service certificate.

NameDescription
System_CAPS_pubpropertyAudienceRestriction

Gets or sets the configured AudienceRestriction.

System_CAPS_pubpropertyCaches

Gets or sets the configured IdentityModelCaches.

System_CAPS_pubpropertyCertificateValidationMode

Gets or sets the certificate validation mode used by handlers to validate issuer certificates.

System_CAPS_pubpropertyCertificateValidator

Gets or sets the certificate validator used by handlers to validate issuer certificates.

System_CAPS_pubpropertyClaimsAuthenticationManager

Gets or sets the claims authentication manager. The default is an instance of the ClaimsAuthenticationManager class.

System_CAPS_pubpropertyClaimsAuthorizationManager

Gets or sets the claims authorization manager.

System_CAPS_pubpropertyDetectReplayedTokens

Gets or sets a value in the default handler configuration that indicates whether handlers should detect replayed tokens.

System_CAPS_pubpropertyIsInitialized

Gets or sets a value that indicates whether the Initialize method has been called.

System_CAPS_pubpropertyIssuerNameRegistry

Gets or sets the issuer name registry used to resolve issuer names.

System_CAPS_pubpropertyIssuerTokenResolver

Gets or sets the issuer token resolver.

System_CAPS_pubpropertyMaxClockSkew

Gets or sets the maximum allowable time difference between the system clocks of the two parties that are communicating.

System_CAPS_pubpropertyName

Gets the service name of this configuration.

System_CAPS_pubpropertyRevocationMode

Gets or sets the revocation mode used by handlers to validate issuer certificates.

System_CAPS_pubpropertySaveBootstrapContext

Gets or sets a value that indicates whether the BootstrapContext object is saved in the ClaimsIdentity and Sessions after token validation.

System_CAPS_pubpropertySecurityTokenHandlerCollectionManager

Gets the SecurityTokenHandlerCollectionManager containing the set of SecurityTokenHandler objects that are used to serialize and validate tokens found in WS-Trust messages.

System_CAPS_pubpropertySecurityTokenHandlers

Gets the collection of SecurityTokenHandler objects used to serialize and validate tokens found in WS-Trust messages.

System_CAPS_pubpropertyServiceCertificate

Gets or sets the service certificate.

System_CAPS_pubpropertyServiceTokenResolver

Gets or sets the service token resolver.

System_CAPS_pubpropertyTokenReplayCacheExpirationPeriod

Gets or sets the expiration period for items placed in the TokenReplayCache.

System_CAPS_pubpropertyTrustedStoreLocation

Gets or sets the trusted store location used by handlers to validate issuer certificates.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitialize()

Updates properties in the SecurityTokenHandlerConfiguration objects for the SecurityTokenHandlerCollection objects contained in the SecurityTokenHandlerCollectionManager to be consistent with the property values on this IdentityConfiguration instance.

System_CAPS_protmethodLoadConfiguration(IdentityConfigurationElement)

Loads the settings for this IdentityConfiguration instance from the application or Web configuration file.

System_CAPS_protmethodLoadHandlerConfiguration(IdentityConfigurationElement)

Loads a SecurityTokenHandlerConfiguration by using the elements directly under the specified IdentityConfigurationElement.

System_CAPS_protmethodLoadHandlerConfiguration(SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement)

Loads configuration elements pertaining to the SecurityTokenHandlerCollection.

System_CAPS_protmethodLoadHandlers(IdentityConfigurationElement)

Loads the SecurityTokenHandlerCollectionManager defined for the specified service.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticDefaultCertificateValidationMode

The default X.509 certificate validation mode, X509CertificateValidationMode.PeerOrChainTrust.

System_CAPS_pubfieldSystem_CAPS_staticDefaultIssuerNameRegistryType

The default issuer name registry type; the Type of the ConfigurationBasedIssuerNameRegistry class.

System_CAPS_pubfieldSystem_CAPS_staticDefaultMaxClockSkew

The default maximum clock skew; 5 minutes.

System_CAPS_pubfieldSystem_CAPS_staticDefaultRevocationMode

The default X.509 revocation mode; X509RevocationMode.Online.

System_CAPS_pubfieldSystem_CAPS_staticDefaultServiceName

The default service name; an empty string.

System_CAPS_pubfieldSystem_CAPS_staticDefaultTrustedStoreLocation

The default trusted store location for certificates; StoreLocation.LocalMachine.

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: