Export (0) Print
Expand All

<tokenReplayDetection>

.NET Framework 4.5

Enables token replay detection and specifies the expiration time for tokens.

<system.identityModel>
  <identityConfiguration>
    <tokenReplayDetection>
<system.identityModel>
  <identityConfiguration>
    <tokenReplayDetection enabled=xs:boolean expirationPeriod=TimeSpan>
    </tokenReplayDetection>
  </identityConfiguration>
</system.identityModel>

TokenReplayDetectionElement

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

enabled

A value that specifies whether token replay detection is enabled; “true” to enable token replay detection.

expirationPeriod

A TimeSpan that specifies the maximum amount of time before an item is considered expired and removed from the cache. For more information about how to specify TimeSpan values, see Timespan Values.

Child Elements

None

Parent Elements

Element

Description

<identityConfiguration>

Specifies service-level identity settings.

<securityTokenHandlerConfiguration>

Provides configuration for a collection of security token handlers.

A <tokenReplayDetection> element can be specified at the service level under the <identityConfiguration> element or on the security token handler collection level under the <securityTokenHandlerConfiguration> element. Settings on a token handler collection override those specified on the service.

The type of the token replay cache is specified by the <tokenReplayCache> element.

Show:
© 2014 Microsoft