This documentation is archived and is not being maintained.

ISecurityContextSecurityTokenCache Interface

When implemented, this interface specifies a contract for a security context token cache.

Namespace:  System.ServiceModel.Security.Tokens
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public interface ISecurityContextSecurityTokenCache

The ISecurityContextSecurityTokenCache type exposes the following members.

Public methodAddContextAdds a security context security token to the token cache.
Public methodClearContextsClears the token cache of content.
Public methodGetAllContextsGets a collection of security context security token IDs that match a specified context ID.
Public methodGetContextGets the security context security token ID that matches a specified context ID and generation.
Public methodRemoveAllContextsRemoves all tokens from the cache that match a given context ID.
Public methodRemoveContextRemoves the token from the cache that matches a given context ID and generation.
Public methodTryAddContextTries to add a token to the cache.
Public methodUpdateContextCachingTimeUpdates the expiration date for a token in the cache.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.