Export (0) Print
Expand All

TokenReplayCache Class

.NET Framework 4.5

The abstract base class that defines methods for a cache used to detect replayed tokens.

System::Object
  System.IdentityModel.Tokens::TokenReplayCache

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

public ref class TokenReplayCache abstract : ICustomIdentityConfiguration

The TokenReplayCache type exposes the following members.

  NameDescription
Protected methodTokenReplayCacheCalled from constructors in derived classes to initialize the TokenReplayCacheclass.
Top

  NameDescription
Public methodAddOrUpdateWhen overridden in a derived class, attempts to add a new entry or update and existing entry.
Public methodContainsWhen overridden in a derived class, returns a value that indicates whether a matching entry exists in the cache.
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 methodGetWhen overridden in a derived class, attempts to get the specified entry.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodLoadCustomConfigurationWhen overridden in a derived class, loads custom configuration from the specified XML.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveWhen overridden in a derived class, attempts to remove an entry from the cache.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

When implemented, the cache should purge tokens on a scheduled time interval. The AddOrUpdate method associates a security token with a key and an expiration time. The can be used to search the cache for the token or to remove the token from the cache. The expiration time indicates the time at which the token should be purged from the cache.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft