MRUSecurityTokenCache Members

Provides the base implementation for a security token cache that makes room for a new token by removing the least recently accessed item.

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

Public Constructors

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

Top

Public Properties

  Name Description
public property Capacity Gets the maximum number of security tokens that can be stored in the cache.
public property Count Gets the number of security tokens in the cache.
public property IsSynchronized Gets a value indicating whether access to the cache is synchronized (thread safe).
public property Item Gets the SecurityToken corresponding to the specified identifier.
public property SyncRoot Gets an object that can be used to synchronize access to the cache.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method Add Adds a security token to the cache using the specified identifier as the key.
public method Clear Removes all the SecurityToken objects from the MRUSecurityTokenCache.
public method Contains Returns a value indicating whether a security token with the specified identifier exists in the cache.
public method Equals  Overloaded. (Inherited from Object )
public method GetEnumerator Gets an IEnumerator that can iterate through the cache.
public method GetHashCode  (Inherited from Object )
public method GetType  (Inherited from Object )
public method static ReferenceEquals  (Inherited from Object )
public method Remove Removes a security token with the specified identifier from the cache.
public method ToString  (Inherited from Object )

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )
protected method OnChanged Raises the Changed event.
protected method Purge Removes all security tokens from the cache that have expired or do not have a specified expiration.

Top

Public Events

  Name Description
public event Changed Occurs when security tokens are added or removed from the cache.

Top

See Also

Reference

MRUSecurityTokenCache Class
Microsoft.Web.Services3.Security.Tokens Namespace