SecurityTokenHandlerConfiguration Class

.NET Framework 4.6 and 4.5

Configuration common to all security token handlers.


Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public class SecurityTokenHandlerConfiguration

The SecurityTokenHandlerConfiguration type exposes the following members.

Public methodSecurityTokenHandlerConfigurationInitializes a new instance of the SecurityTokenHandlerConfiguration class.

Public propertyAudienceRestrictionGets or sets the audience restriction.
Public propertyCachesGets or sets the caches that are used for this configuration.
Public propertyCertificateValidationModeGets or sets the X.509 certificate validation mode used by handlers to validate issuer certificates.
Public propertyCertificateValidatorGets or sets the X.509 certificate validator used by handlers to validate issuer certificates
Public propertyDetectReplayedTokensGets or sets a value that indicates whether replayed tokens should be detected by handlers in this configuration.
Public propertyIssuerNameRegistryGets or sets the issuer name registry for this configuration.
Public propertyIssuerTokenResolverGets or sets the issuer token resolver for this configuration.
Public propertyMaxClockSkewGets or sets the maximum clock skew for handlers using this configuration.
Public propertyRevocationModeGets or sets the X.509 revocation mode for this configuration.
Public propertySaveBootstrapContextGets or sets a value that indicates whether the bootstrap context (token) is saved in the ClaimsIdentity and Sessions after token validation.
Public propertyServiceTokenResolverGets or sets the security token resolver to use to resolve service tokens.
Public propertyTokenReplayCacheExpirationPeriodGets or sets the expiration period for items put in the token replay cache.
Public propertyTrustedStoreLocationGets or sets the X.509 trusted store location used by handlers to validate issuer certificates.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public fieldStatic memberDefaultCertificateValidationModeSpecifies the default X.509 certificate validation mode.
Public fieldStatic memberDefaultCertificateValidatorSpecifies the default X.509 certificate validator instance.
Public fieldStatic memberDefaultDetectReplayedTokensSpecifies a value that determines whether to detect replayed tokens; false, do not detect replayed tokens.
Public fieldStatic memberDefaultIssuerNameRegistrySpecifies the default issuer name registry instance; an instance of the configuration-based issuer name registry.
Public fieldStatic memberDefaultIssuerTokenResolverSpecifies the default issuer token resolver instance.
Public fieldStatic memberDefaultMaxClockSkewSpecifies the default maximum clock skew.
Public fieldStatic memberDefaultRevocationModeSpecifies the default X.509 certificate revocation mode.
Public fieldStatic memberDefaultSaveBootstrapContextSpecifies whether to save bootstrap tokens; false, bootstrap tokens are not saved.
Public fieldStatic memberDefaultTokenReplayCacheExpirationPeriodSpecifies the default token replay cache expiration period.
Public fieldStatic memberDefaultTrustedStoreLocationSpecifies the default X.509 certificate trusted store location.

.NET Framework

Supported in: 4.6, 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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft