MruSecurityTokenCache 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.]

An MRU cache (Most Recently Used).

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

Public Constructors

  Name Description
  MruSecurityTokenCache Overloaded. Initializes a new instance of the MruSecurityTokenCache class.

Top

Public Fields

  Name Description
public fieldstatic DefaultTokenCacheSize  

Top

Public Properties

  Name Description
public property MaximumSize Gets the maximum size of the cache.
public property Owner  Sets the SecurityTokenHandler that owns the cache. (Inherited from SecurityTokenCache)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method ClearEntries Overridden. Clears the contents of the cache.
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ToString  (Inherited from Object)
public method TryAddEntry Overridden. Adds an entry to the cache and returns a value that indicates if the operation was successful.
public method TryGetAllEntries Overridden. Returns all the entries that match the given key.
public method TryGetEntry Overridden. Returns a value that indicates if the specified key exists in the cache. Also if it exists, marks it as MRU.
public method TryRemoveAllEntries Overridden. Deletes matching cache entries from the MruCache and returns a value that indicates whether any entry was deleted.
public method TryRemoveEntry Overridden. Deletes the specified cache entry from the MruCache and returns a value that indicates whether the entry was deleted.
public method TryReplaceEntry Overridden. Attempts to replace an existing entry in the cache with a new one.

Top

Protected Methods

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

Top

See Also

Reference

MruSecurityTokenCache Class
Microsoft.IdentityModel Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.