1 write to Caches
System.IdentityModel (1)
System\IdentityModel\Configuration\IdentityConfiguration.cs (1)
158
set { _serviceHandlerConfiguration.
Caches
= value; }
12 references to Caches
System.IdentityModel (11)
System\IdentityModel\Configuration\IdentityConfiguration.cs (5)
157
get { return _serviceHandlerConfiguration.
Caches
; }
570
handlerConfiguration.
Caches
.TokenReplayCache = CustomTypeElement.Resolve<TokenReplayCache>(element.Caches.TokenReplayCache);
575
handlerConfiguration.
Caches
.SessionSecurityTokenCache = CustomTypeElement.Resolve<SessionSecurityTokenCache>(element.Caches.SessionSecurityTokenCache);
672
handlerConfiguration.
Caches
.TokenReplayCache = CustomTypeElement.Resolve<TokenReplayCache>(element.Caches.TokenReplayCache);
677
handlerConfiguration.
Caches
.SessionSecurityTokenCache = CustomTypeElement.Resolve<SessionSecurityTokenCache>(element.Caches.SessionSecurityTokenCache);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (3)
1661
if (Configuration.
Caches
.TokenReplayCache == null)
1688
if (Configuration.
Caches
.TokenReplayCache.Contains(key))
1696
Configuration.
Caches
.TokenReplayCache.AddOrUpdate(key, token, DateTimeUtil.Add(this.GetTokenReplayCacheEntryExpirationTime(samlToken), Configuration.MaxClockSkew));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (3)
800
if (Configuration.
Caches
.TokenReplayCache == null)
828
if (Configuration.
Caches
.TokenReplayCache.Contains(key))
843
Configuration.
Caches
.TokenReplayCache.AddOrUpdate(key, token, DateTimeUtil.Add(GetTokenReplayCacheEntryExpirationTime(samlToken), Configuration.MaxClockSkew));
System.ServiceModel (1)
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (1)
64
_tokenCache = _securityTokenHandlerCollection.Configuration.
Caches
.SessionSecurityTokenCache;