Redigera

Dela via


IdentityModelCachesElement.TokenReplayCache Property

Definition

Gets or sets the Type of the token replay cache.

public:
 property System::IdentityModel::Configuration::CustomTypeElement ^ TokenReplayCache { System::IdentityModel::Configuration::CustomTypeElement ^ get(); void set(System::IdentityModel::Configuration::CustomTypeElement ^ value); };
[System.Configuration.ConfigurationProperty("tokenReplayCache", IsRequired=false)]
public System.IdentityModel.Configuration.CustomTypeElement TokenReplayCache { get; set; }
[<System.Configuration.ConfigurationProperty("tokenReplayCache", IsRequired=false)>]
member this.TokenReplayCache : System.IdentityModel.Configuration.CustomTypeElement with get, set
Public Property TokenReplayCache As CustomTypeElement

Property Value

The type of the token replay cache. The type must derive from TokenReplayCache.

Attributes

Remarks

This property is optional. It corresponds to an <tokenReplayCache> element specified under the <caches> element. It specifies the type of the cache to use to detect replayed tokens. All replay caches must derive from TokenReplayCache

Replay detection is enabled with the <tokenReplayDetection> element. This element is represented by the TokenReplayDetectionElement class.

Applies to

See also