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 | |
---|---|---|
Capacity | Gets the maximum number of security tokens that can be stored in the cache. | |
Count | Gets the number of security tokens in the cache. | |
IsSynchronized | Gets a value indicating whether access to the cache is synchronized (thread safe). | |
Item | Gets the SecurityToken corresponding to the specified identifier. | |
SyncRoot | Gets an object that can be used to synchronize access to the cache. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Add | Adds a security token to the cache using the specified identifier as the key. | |
Clear | Removes all the SecurityToken objects from the MRUSecurityTokenCache. | |
Contains | Returns a value indicating whether a security token with the specified identifier exists in the cache. | |
Equals | Overloaded. (Inherited from Object ) | |
GetEnumerator | Gets an IEnumerator that can iterate through the cache. | |
GetHashCode | (Inherited from Object ) | |
GetType | (Inherited from Object ) | |
ReferenceEquals | (Inherited from Object ) | |
Remove | Removes a security token with the specified identifier from the cache. | |
ToString | (Inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object ) | |
MemberwiseClone | (Inherited from Object ) | |
OnChanged | Raises the Changed event. | |
Purge | Removes all security tokens from the cache that have expired or do not have a specified expiration. |
Top
Public Events
Name | Description | |
---|---|---|
Changed | Occurs when security tokens are added or removed from the cache. |
Top
See Also
Reference
MRUSecurityTokenCache Class
Microsoft.Web.Services3.Security.Tokens Namespace