ServiceConfiguration Members
[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]
Defines the collection of configurable properties controlling the behavior of the Windows Identity Foundation.
The following tables list the members exposed by the ServiceConfiguration type.
Public Constructors
Name | Description | |
---|---|---|
ServiceConfiguration | Overloaded. |
Top
Public Fields
Name | Description | |
---|---|---|
DefaultCertificateValidationMode | ||
DefaultMaxClockSkew | ||
DefaultRevocationMode | ||
DefaultServiceName | ||
DefaultTrustedStoreLocation |
Top
Public Properties
Name | Description | |
---|---|---|
AudienceRestriction | Gets or sets the AudienceRestriction. | |
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 ClaimsAuthenticationManager. | |
ClaimsAuthorizationManager | Gets or sets the ClaimsAuthorizationManager. | |
DetectReplayedTokens | Gets or sets detection of replaying of tokens by handlers in the default handler configuration. | |
DisableWsdl | Gets or sets a Boolean value that specifies whether WSDL generation for the service is enabled. The default value is false. | |
ExceptionMapper | Gets or sets the ExceptionMapper to be used when throwing exceptions. | |
IsInitialized | Determines if Initialize has been called. | |
IssuerNameRegistry | Gets or sets the IssuerNameRegistry 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 or sets the service name of this configuration. | |
RevocationMode | Gets or sets the revocation mode used by handlers to validate issuer certificates. | |
SaveBootstrapTokens | Gets or sets whether bootstrap tokens are saved in the IClaimsIdentity and Sessions after token validation. | |
SecurityTokenHandlerCollectionManager | Gets or sets the set of T:Microsoft.IdentityModel.Tokens.SecurityTokenHandler objects used for serializing and validating tokens found in WS-Trust messages. | |
SecurityTokenHandlers | Gets or sets the collection of SecurityTokenHandler objects used for serializing and validating tokens found in WS-Trust messages. If user wants to register their own token handler, they can simply add their own handler to this collection. | |
ServiceCertificate | Gets or sets the service certificate. | |
ServiceTokenResolver | Gets or sets the Service token resolver. | |
TokenReplayCache | Gets or sets the TokenReplayCache that is used to detect replayed tokens. | |
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. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
CreateAggregateTokenResolver | Creates an aggregate token resolver with the service certificate and the service token resolver configured. | |
Equals | (Inherited from Object) | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
Initialize | Updates properties in the SecurityTokenHandlerConfiguration objects for the SecurityTokenHandlerCollection objects contained in SecurityTokenHandlerCollectionManager to be consistent with the property values on this ServiceConfiguration instance. | |
ToString | (Inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
LoadConfiguration | Loads the settings for the ServiceConfiguration from the application or web configuration file. | |
LoadHandlerConfiguration | Overloaded. | |
LoadHandlers | Loads the P:Microsoft.IdentityModel.Configuration.ServiceConfiguration.SecurityTokenHandlerCollectionManager defined for a given service. | |
MemberwiseClone | (Inherited from Object) |
Top
See Also
Reference
ServiceConfiguration Class
Microsoft.IdentityModel.Configuration Namespace
Copyright © 2008 by Microsoft Corporation. All rights reserved.