Share via


ISecurityTokenCache Members

Defines a security token cache.

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

Public Properties

  Name Description
public property IsSynchronized Gets a value that indicates whether access to the cache is synchronized (thread safe).
public property Item Gets the SecurityToken that corresponds to the specified identifier.
public property SyncRoot Gets an object that can be used to synchronize access to the cache.

Top

Public 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 ISecurityTokenCache.
public method Contains Returns a value that indicates whether a security token with the specified identifier exists in the cache.
public method Remove Removes a security token with the specified identifier from the cache.

Top

Public Events

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

Top

See Also

Reference

ISecurityTokenCache Interface
Microsoft.Web.Services3.Security.Tokens Namespace