コード例 #1
0
 public override void Remove(SessionSecurityTokenCacheKey key)
 {
     _internalCache.Remove(key);
     cache.Remove(new bUtility.TokenCache.Types.SessionSecurity.SessionCacheKey
     {
         EndpointId    = key.EndpointId,
         ContextId     = key?.ContextId?.ToString(),
         KeyGeneration = GetKeyGenerationString(key)
     });
 }
コード例 #2
0
        public override void Remove(SessionSecurityTokenCacheKey key)
        {
            _internalCache.Remove(key);

            ApiHelperAsync helper = new ApiHelperAsync(_httpClient);

            helper.Remove(new SessionCacheKey()
            {
                EndpointId    = key.EndpointId,
                ContextId     = GetContextIdString(key),
                KeyGeneration = GetKeyGenerationString(key)
            });
        }