mirror of
https://github.com/bitwarden/server.git
synced 2025-06-17 00:03:17 -05:00
Dependency injection
This commit is contained in:
parent
87d008b08f
commit
61e294c3cd
@ -238,6 +238,7 @@ public static class ServiceCollectionExtensions
|
||||
services.AddSingleton<IStripeSyncService, StripeSyncService>();
|
||||
services.AddSingleton<IMailService, HandlebarsMailService>();
|
||||
services.AddSingleton<ILicensingService, LicensingService>();
|
||||
services.AddSingleton<ITwoFactorEmailService, TwoFactorEmailService>();
|
||||
services.AddSingleton<ILookupClient>(_ =>
|
||||
{
|
||||
var options = new LookupClientOptions { Timeout = TimeSpan.FromSeconds(15), UseTcpOnly = true };
|
||||
|
Loading…
x
Reference in New Issue
Block a user