IdentityConfiguration IdentityConfiguration IdentityConfiguration IdentityConfiguration Class

Definition

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

public ref class IdentityConfiguration
public class IdentityConfiguration
type IdentityConfiguration = class
Public Class IdentityConfiguration
Inheritance
IdentityConfigurationIdentityConfigurationIdentityConfigurationIdentityConfiguration
Derived

Constructors

IdentityConfiguration() IdentityConfiguration() IdentityConfiguration() IdentityConfiguration()

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

IdentityConfiguration(Boolean) IdentityConfiguration(Boolean) IdentityConfiguration(Boolean) IdentityConfiguration(Boolean)

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

IdentityConfiguration(Boolean, X509Certificate2) IdentityConfiguration(Boolean, X509Certificate2) IdentityConfiguration(Boolean, X509Certificate2) IdentityConfiguration(Boolean, X509Certificate2)

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

IdentityConfiguration(String) IdentityConfiguration(String) IdentityConfiguration(String) IdentityConfiguration(String)

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

IdentityConfiguration(String, X509Certificate2) IdentityConfiguration(String, X509Certificate2) IdentityConfiguration(String, X509Certificate2) IdentityConfiguration(String, X509Certificate2)

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

IdentityConfiguration(X509Certificate2) IdentityConfiguration(X509Certificate2) IdentityConfiguration(X509Certificate2) IdentityConfiguration(X509Certificate2)

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

Fields

DefaultCertificateValidationMode DefaultCertificateValidationMode DefaultCertificateValidationMode DefaultCertificateValidationMode

The default X.509 certificate validation mode, PeerOrChainTrust.

DefaultIssuerNameRegistryType DefaultIssuerNameRegistryType DefaultIssuerNameRegistryType DefaultIssuerNameRegistryType

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

DefaultMaxClockSkew DefaultMaxClockSkew DefaultMaxClockSkew DefaultMaxClockSkew

The default maximum clock skew; 5 minutes.

DefaultRevocationMode DefaultRevocationMode DefaultRevocationMode DefaultRevocationMode

The default X.509 revocation mode; Online.

DefaultServiceName DefaultServiceName DefaultServiceName DefaultServiceName

The default service name; an empty string.

DefaultTrustedStoreLocation DefaultTrustedStoreLocation DefaultTrustedStoreLocation DefaultTrustedStoreLocation

The default trusted store location for certificates; LocalMachine.

Properties

AudienceRestriction AudienceRestriction AudienceRestriction AudienceRestriction

Gets or sets the configured AudienceRestriction.

Caches Caches Caches Caches

Gets or sets the configured IdentityModelCaches.

CertificateValidationMode CertificateValidationMode CertificateValidationMode CertificateValidationMode

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

CertificateValidator CertificateValidator CertificateValidator CertificateValidator

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

ClaimsAuthenticationManager ClaimsAuthenticationManager ClaimsAuthenticationManager ClaimsAuthenticationManager

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

ClaimsAuthorizationManager ClaimsAuthorizationManager ClaimsAuthorizationManager ClaimsAuthorizationManager

Gets or sets the claims authorization manager.

DetectReplayedTokens DetectReplayedTokens DetectReplayedTokens DetectReplayedTokens

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

IsInitialized IsInitialized IsInitialized IsInitialized

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

IssuerNameRegistry IssuerNameRegistry IssuerNameRegistry IssuerNameRegistry

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

IssuerTokenResolver IssuerTokenResolver IssuerTokenResolver IssuerTokenResolver

Gets or sets the issuer token resolver.

MaxClockSkew MaxClockSkew MaxClockSkew MaxClockSkew

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

Name Name Name Name

Gets the service name of this configuration.

RevocationMode RevocationMode RevocationMode RevocationMode

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

SaveBootstrapContext SaveBootstrapContext SaveBootstrapContext SaveBootstrapContext

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

SecurityTokenHandlerCollectionManager SecurityTokenHandlerCollectionManager SecurityTokenHandlerCollectionManager SecurityTokenHandlerCollectionManager

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

SecurityTokenHandlers SecurityTokenHandlers SecurityTokenHandlers SecurityTokenHandlers

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

ServiceCertificate ServiceCertificate ServiceCertificate ServiceCertificate

Gets or sets the service certificate.

ServiceTokenResolver ServiceTokenResolver ServiceTokenResolver ServiceTokenResolver

Gets or sets the service token resolver.

TokenReplayCacheExpirationPeriod TokenReplayCacheExpirationPeriod TokenReplayCacheExpirationPeriod TokenReplayCacheExpirationPeriod

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

TrustedStoreLocation TrustedStoreLocation TrustedStoreLocation TrustedStoreLocation

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize() Initialize() Initialize() Initialize()

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.

LoadConfiguration(IdentityConfigurationElement) LoadConfiguration(IdentityConfigurationElement) LoadConfiguration(IdentityConfigurationElement) LoadConfiguration(IdentityConfigurationElement)

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

LoadHandlerConfiguration(IdentityConfigurationElement) LoadHandlerConfiguration(IdentityConfigurationElement) LoadHandlerConfiguration(IdentityConfigurationElement) LoadHandlerConfiguration(IdentityConfigurationElement)

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

LoadHandlerConfiguration(SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement) LoadHandlerConfiguration(SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement) LoadHandlerConfiguration(SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement) LoadHandlerConfiguration(SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement)

Loads configuration elements pertaining to the SecurityTokenHandlerCollection.

LoadHandlers(IdentityConfigurationElement) LoadHandlers(IdentityConfigurationElement) LoadHandlers(IdentityConfigurationElement) LoadHandlers(IdentityConfigurationElement)

Loads the SecurityTokenHandlerCollectionManager defined for the specified service.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to