1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

remove the redis grant store (#3757)

This commit is contained in:
Kyle Spearrin
2024-02-07 14:50:23 -05:00
committed by GitHub
parent a019355ab4
commit f0a8fd63ca
5 changed files with 13 additions and 253 deletions

View File

@ -11,6 +11,7 @@ using Bit.Core.Auth.Identity;
using Bit.Core.Auth.IdentityServer;
using Bit.Core.Auth.LoginFeatures;
using Bit.Core.Auth.Models.Business.Tokenables;
using Bit.Core.Auth.Repositories;
using Bit.Core.Auth.Services;
using Bit.Core.Auth.Services.Implementations;
using Bit.Core.Auth.UserFeatures;
@ -120,6 +121,7 @@ public static class ServiceCollectionExtensions
{
services.AddSingleton<IEventRepository, TableStorageRepos.EventRepository>();
services.AddSingleton<IInstallationDeviceRepository, TableStorageRepos.InstallationDeviceRepository>();
services.AddKeyedSingleton<IGrantRepository, Core.Auth.Repositories.Cosmos.GrantRepository>("cosmos");
}
return provider;