Breyta

Deila með


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
IdentityConfiguration
Derived

Constructors

IdentityConfiguration()

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

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(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(String, X509Certificate2)

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

IdentityConfiguration(String)

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

IdentityConfiguration(X509Certificate2)

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

Fields

DefaultCertificateValidationMode

The default X.509 certificate validation mode, PeerOrChainTrust.

DefaultIssuerNameRegistryType

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

DefaultMaxClockSkew

The default maximum clock skew; 5 minutes.

DefaultRevocationMode

The default X.509 revocation mode; Online.

DefaultServiceName

The default service name; an empty string.

DefaultTrustedStoreLocation

The default trusted store location for certificates; LocalMachine.

Properties

AudienceRestriction

Gets or sets the configured AudienceRestriction.

Caches

Gets or sets the configured IdentityModelCaches.

CertificateValidationMode

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

CertificateValidator

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

ClaimsAuthenticationManager

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

ClaimsAuthorizationManager

Gets or sets the claims authorization manager.

DetectReplayedTokens

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

IsInitialized

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

IssuerNameRegistry

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

IssuerTokenResolver

Gets or sets the issuer token resolver.

MaxClockSkew

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

Name

Gets the service name of this configuration.

RevocationMode

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

SaveBootstrapContext

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

SecurityTokenHandlerCollectionManager

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

SecurityTokenHandlers

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

ServiceCertificate

Gets or sets the service certificate.

ServiceTokenResolver

Gets or sets the service token resolver.

TokenReplayCacheExpirationPeriod

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

TrustedStoreLocation

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

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
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)

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

LoadHandlerConfiguration(IdentityConfigurationElement)

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

LoadHandlerConfiguration(SecurityTokenHandlerConfiguration, SecurityTokenHandlerConfigurationElement)

Loads configuration elements pertaining to the SecurityTokenHandlerCollection.

LoadHandlers(IdentityConfigurationElement)

Loads the SecurityTokenHandlerCollectionManager defined for the specified service.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to