7 instantiations of SessionSecurityTokenCacheKey
System.IdentityModel (2)
System\IdentityModel\Tokens\MruSessionSecurityTokenCache.cs (2)
228
SessionSecurityTokenCacheKey key = new
SessionSecurityTokenCacheKey
(endpointId, contextId, null);
279
SessionSecurityTokenCacheKey key = new
SessionSecurityTokenCacheKey
(endpointId, contextId, null);
System.ServiceModel (5)
System\ServiceModel\Security\WrappedTokenCache.cs (5)
57
SessionSecurityTokenCacheKey key = new
SessionSecurityTokenCacheKey
(_claimsHandler.EndpointId, token.ContextId, token.KeyGeneration);
96
SessionSecurityTokenCacheKey key = new
SessionSecurityTokenCacheKey
(_claimsHandler.EndpointId, contextId, generation);
125
SessionSecurityTokenCacheKey key = new
SessionSecurityTokenCacheKey
(_claimsHandler.EndpointId, contextId, generation);
138
SessionSecurityTokenCacheKey key = new
SessionSecurityTokenCacheKey
(_claimsHandler.EndpointId, token.ContextId, token.KeyGeneration);
152
SessionSecurityTokenCacheKey key = new
SessionSecurityTokenCacheKey
(_claimsHandler.EndpointId, token.ContextId, token.KeyGeneration);
37 references to SessionSecurityTokenCacheKey
System.IdentityModel (32)
System\IdentityModel\Tokens\MruSessionSecurityTokenCache.cs (18)
32
private Dictionary<
SessionSecurityTokenCacheKey
, CacheEntry> items;
35
private LinkedList<
SessionSecurityTokenCacheKey
> mruList;
65
public MruSessionSecurityTokenCache(int maximumSize, IEqualityComparer<
SessionSecurityTokenCacheKey
> comparer)
89
public MruSessionSecurityTokenCache(int sizeAfterPurge, int maximumSize, IEqualityComparer<
SessionSecurityTokenCacheKey
> comparer)
102
this.items = new Dictionary<
SessionSecurityTokenCacheKey
, CacheEntry>(maximumSize, comparer);
104
this.mruList = new LinkedList<
SessionSecurityTokenCacheKey
>();
122
public override void Remove(
SessionSecurityTokenCacheKey
key)
151
public override void AddOrUpdate(
SessionSecurityTokenCacheKey
key, SessionSecurityToken value, DateTime expirationTime)
177
public override SessionSecurityToken Get(
SessionSecurityTokenCacheKey
key)
227
Dictionary<
SessionSecurityTokenCacheKey
, CacheEntry> entriesToDelete = new Dictionary<
SessionSecurityTokenCacheKey
, CacheEntry>();
228
SessionSecurityTokenCacheKey
key = new SessionSecurityTokenCacheKey(endpointId, contextId, null);
232
foreach (
SessionSecurityTokenCacheKey
itemKey in this.items.Keys)
240
foreach (
SessionSecurityTokenCacheKey
itemKey in entriesToDelete.Keys)
279
SessionSecurityTokenCacheKey
key = new SessionSecurityTokenCacheKey(endpointId, contextId, null);
284
foreach (
SessionSecurityTokenCacheKey
itemKey in this.items.Keys)
319
SessionSecurityTokenCacheKey
keyRemove = this.mruList.Last.Value;
344
public LinkedListNode<
SessionSecurityTokenCacheKey
> Node
System\IdentityModel\Tokens\SessionSecurityTokenCache.cs (3)
33
public abstract void AddOrUpdate(
SessionSecurityTokenCacheKey
key, SessionSecurityToken value, DateTime expiryTime);
48
public abstract SessionSecurityToken Get(
SessionSecurityTokenCacheKey
key);
67
public abstract void Remove(
SessionSecurityTokenCacheKey
key);
System\IdentityModel\Tokens\SessionSecurityTokenCacheKey.cs (11)
19
/// The class <see cref="
SessionSecurityTokenCacheKey
"/> is used as the index
32
/// Creates an instance of <see cref="
SessionSecurityTokenCacheKey
"/> which
107
/// Implements the equality operator for <see cref="
SessionSecurityTokenCacheKey
"/>.
112
public static bool operator ==(
SessionSecurityTokenCacheKey
first,
SessionSecurityTokenCacheKey
second)
123
/// Implements the inequality operator for <see cref="
SessionSecurityTokenCacheKey
"/>.
128
public static bool operator !=(
SessionSecurityTokenCacheKey
first,
SessionSecurityTokenCacheKey
second)
140
if (obj is
SessionSecurityTokenCacheKey
)
142
SessionSecurityTokenCacheKey
key2 = obj as
SessionSecurityTokenCacheKey
;
System.ServiceModel (5)
System\ServiceModel\Security\WrappedTokenCache.cs (5)
57
SessionSecurityTokenCacheKey
key = new SessionSecurityTokenCacheKey(_claimsHandler.EndpointId, token.ContextId, token.KeyGeneration);
96
SessionSecurityTokenCacheKey
key = new SessionSecurityTokenCacheKey(_claimsHandler.EndpointId, contextId, generation);
125
SessionSecurityTokenCacheKey
key = new SessionSecurityTokenCacheKey(_claimsHandler.EndpointId, contextId, generation);
138
SessionSecurityTokenCacheKey
key = new SessionSecurityTokenCacheKey(_claimsHandler.EndpointId, token.ContextId, token.KeyGeneration);
152
SessionSecurityTokenCacheKey
key = new SessionSecurityTokenCacheKey(_claimsHandler.EndpointId, token.ContextId, token.KeyGeneration);