1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00
* Delete U2F tokens alongside WebAuthn

* Bring back u2f apis
This commit is contained in:
Oscar Hinton
2021-05-05 16:14:49 +02:00
committed by GitHub
parent f0baf7e6a4
commit ce4f025a0c
7 changed files with 294 additions and 0 deletions

View File

@ -23,6 +23,7 @@ namespace Bit.Core.Test.Services
private readonly ICipherRepository _cipherRepository;
private readonly IOrganizationUserRepository _organizationUserRepository;
private readonly IOrganizationRepository _organizationRepository;
private readonly IU2fRepository _u2fRepository;
private readonly IMailService _mailService;
private readonly IPushNotificationService _pushService;
private readonly IUserStore<User> _userStore;
@ -52,6 +53,7 @@ namespace Bit.Core.Test.Services
_cipherRepository = Substitute.For<ICipherRepository>();
_organizationUserRepository = Substitute.For<IOrganizationUserRepository>();
_organizationRepository = Substitute.For<IOrganizationRepository>();
_u2fRepository = Substitute.For<IU2fRepository>();
_mailService = Substitute.For<IMailService>();
_pushService = Substitute.For<IPushNotificationService>();
_userStore = Substitute.For<IUserStore<User>>();
@ -80,6 +82,7 @@ namespace Bit.Core.Test.Services
_cipherRepository,
_organizationUserRepository,
_organizationRepository,
_u2fRepository,
_mailService,
_pushService,
_userStore,