TokenReplayCache Members

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

This class defines the API for a cache that stores tokens for and purges them on a schedule time interval.

The following tables list the members exposed by the TokenReplayCache type.

Protected Constructors

  Name Description
  TokenReplayCache  

Top

Public Properties

  Name Description
public property Capacity Gets or Sets the Capacity of the cache in number of SecurityToken.
public property PurgeInterval Gets or Sets the time interval that will be used when checking for expired SecurityTokens.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Clear Removes all SecurityTokens from this cache.
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method IncreaseCapacity Increases the maximum number of SecurityTokens that this cache will hold.
public method ToString  (Inherited from Object)
public method TryAdd Attempt to add a SecurityToken
public method TryFind Attempt to find a SecurityToken
public method TryGet Attempt to get a SecurityToken
public method TryRemove Attempt to remove a SecurityToken

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

TokenReplayCache Class
Microsoft.IdentityModel.Tokens Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.