// Token: 0x0600147E RID: 5246 RVA: 0x0004C680 File Offset: 0x0004A880
        public bool Add(IIdentity identity, T data)
        {
            if (identity == null || data == null)
            {
                return(false);
            }
            if (!identity.IsAuthenticated)
            {
                return(false);
            }
            string text = IdentityCache <T> .CreateKey(identity);

            if (text == null)
            {
                return(false);
            }
            this.CachedData.InsertAbsolute(text, data, AppSettings.Current.SidsCacheTimeoutInHours, new RemoveItemDelegate <string, T>(IdentityCache <T> .OnKeyToRemoveBudgetsCacheValueRemoved));
            return(true);
        }