mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
Initial stubbing out of the phishing service
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
using Bit.Api.Vault.AuthorizationHandlers.Collections;
|
||||
using Bit.Core.AdminConsole.OrganizationFeatures.Groups.Authorization;
|
||||
using Bit.Core.IdentityServer;
|
||||
using Bit.Core.Services;
|
||||
using Bit.Core.Settings;
|
||||
using Bit.Core.Utilities;
|
||||
using Bit.Core.Vault.Authorization.SecurityTasks;
|
||||
@ -106,4 +107,9 @@ public static class ServiceCollectionExtensions
|
||||
services.AddScoped<IAuthorizationHandler, SecurityTaskAuthorizationHandler>();
|
||||
services.AddScoped<IAuthorizationHandler, SecurityTaskOrganizationAuthorizationHandler>();
|
||||
}
|
||||
|
||||
public static void AddPhishingDomainService(this IServiceCollection services)
|
||||
{
|
||||
services.AddSingleton<IPhishingDomainService, PhishingDomainService>();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user