ServiceConfiguration 成员

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

下表列出了 ServiceConfiguration 类型公开的成员。

Public 构造函数

  名称 说明
  ServiceConfiguration 已重载。  

页首

Public 字段

  名称 说明
public field static DefaultCertificateValidationMode  
public field static DefaultMaxClockSkew  
public field static DefaultRevocationMode  
public field static DefaultServiceName  
public field static DefaultTrustedStoreLocation  

页首

Public 属性

  名称 说明
public property AudienceRestriction Gets or sets the AudienceRestriction.
public property CertificateValidationMode Gets or sets the certificate validation mode used by handlers to validate issuer certificates.
public property CertificateValidator Gets or sets the certificate validator used by handlers to validate issuer certificates.
public property ClaimsAuthenticationManager Gets or sets the ClaimsAuthenticationManager.
public property ClaimsAuthorizationManager Gets or sets the ClaimsAuthorizationManager.
public property DetectReplayedTokens Gets or sets detection of replaying of tokens by handlers in the default handler configuration.
public property DisableWsdl Gets or sets a Boolean value that specifies whether WSDL generation for the service is enabled. The default value is false.
public property ExceptionMapper Gets or sets the ExceptionMapper to be used when throwing exceptions.
public property IsInitialized  
public property IssuerNameRegistry Gets or sets the IssuerNameRegistry used to resolve issuer names.
public property IssuerTokenResolver Gets or sets the Issuer token resolver.
public property MaxClockSkew Gets or sets the maximum allowable time difference between the system clocks of the two parties that are communicating.
public property Name Gets or sets the service name of this configuration.
public property RevocationMode Gets or sets the revocation mode used by handlers to validate issuer certificates.
public property SaveBootstrapTokens Gets or sets whether bootstrap tokens are saved in the IClaimsIdentity and Sessions after token validation.
public property SecurityTokenHandlerCollectionManager Gets or sets the set of T:Microsoft.IdentityModel.Tokens.SecurityTokenHandler objects used for serializing and validating tokens found in WS-Trust messages.
public property SecurityTokenHandlers Gets or sets the collection of T:Microsoft.IdentityModel.Tokens.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.
public property ServiceCertificate Gets or sets the service certificate.
public property ServiceTokenResolver Gets or sets the Service token resolver.
public property TokenReplayCache Gets or sets the TokenReplayCache that is used to detect replayed tokens.
public property TokenReplayCacheExpirationPeriod Gets or sets the expiration period for items placed in the TokenReplayCache.
public property TrustedStoreLocation Gets or sets the trusted store location used by handlers to validate issuer certificates.

页首

Public 方法

(另请参阅 Protected 方法)

  名称 说明
public method CreateAggregateTokenResolver Creates an aggregate token resolver with the service certificate and the service token resolver configured.
public method Equals  已重载。 (从 Object 继承)
public method GetHashCode  (从 Object 继承)
public method GetType  (从 Object 继承)
public method Initialize Updates properties in the T:Microsoft.IdentityModel.Tokens.SecurityTokenHandlerConfiguration objects for the T:Microsoft.IdentityModel.Tokens.SecurityTokenHandlerCollection objects contained in P:Microsoft.IdentityModel.Configuration.ServiceConfiguration.SecurityTokenHandlerCollectionManager to be consistent with the property values on this T:Microsoft.IdentityModel.Configuration.ServiceConfiguration instance.
public methodstatic ReferenceEquals  (从 Object 继承)
public method ToString  (从 Object 继承)

页首

Protected 方法

  名称 说明
protected method Finalize  (从 Object 继承)
protected method LoadConfiguration Loads the settings for the ServiceConfiguration from the application or web configuration file.
protected method LoadHandlerConfiguration 已重载。  
protected method LoadHandlers Loads the P:Microsoft.IdentityModel.Configuration.ServiceConfiguration.SecurityTokenHandlerCollectionManager defined for a given service.
protected method MemberwiseClone  (从 Object 继承)

页首

请参见

参考

ServiceConfiguration 类
Microsoft.IdentityModel.Configuration 命名空间

版权所有 (C) 2008 Microsoft Corporation。保留所有权利。