public async Task <IEnumerable <ConfigEntrySlim> > GetUserConfigurationAsync(ClaimsPrincipal user) =>
 await cache.GetUserAsync(user.AsSessionInfo(), () => configManager.GetUserConfigurationAsync(user));
 public async Task <IEnumerable <ConfigEntrySlim> > GetSettingsAsync(ClaimsPrincipal user, IEnumerable <string> keys)
 {
     keys = keys.ToArray();
     return(await cache.GetVirtualGroupAsync(user.AsSessionInfo(), keys, () => configManager.GetSettingsAsync(user, keys)));
 }
 public async Task <IEnumerable <ConfigEntrySlim> > GetGroupConfigurationAsync(ClaimsPrincipal user, string groupName) =>
 await cache.GetGroupAsync(user.AsSessionInfo(), groupName, () => configManager.GetGroupConfigurationAsync(user, groupName));
 public async Task <ConfigEntrySlim> GetSettingAsync(ClaimsPrincipal user, string key) =>
 await cache.GetAsync(user.AsSessionInfo(), key, () => configManager.GetSettingAsync(user, key));