Share via


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

Defines a simple abstract interface to a cache of security tokens.

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

Protected Constructors

  Name Description
  SecurityTokenCache Initializes a new instance of the SecurityTokenCache class.

Top

Public Properties

  Name Description
public property Owner Sets the SecurityTokenHandler that owns the cache.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method ClearEntries Clears the entries in 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 Attempts to add an entry to the cache.
public method TryGetAllEntries Attempts to retrieve all entries from the cache.
public method TryGetEntry Attempts to retrieve an entry from the cache.
public method TryRemoveAllEntries Attempts to remove all matching entries from cache.
public method TryRemoveEntry Attempts to remove an entry from the cache.
public method TryReplaceEntry 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

SecurityTokenCache Class
Microsoft.IdentityModel.Tokens Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.