1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-12 15:26:48 +01:00
bitwarden-server/test/Core.Test/Auth/Identity
Ike ab5d4738d6
[PM-8107] Remove Duo v2 from server (#4934)
refactor(TwoFactorAuthentication): Remove references to old Duo SDK version 2 code and replace them with the Duo SDK version 4 supported library DuoUniversal code.

Increased unit test coverage in the Two Factor Authentication code space. We opted to use DI instead of Inheritance for the Duo and OrganizaitonDuo two factor tokens to increase testability, since creating a testing mock of the Duo.Client was non-trivial.

Reviewed-by: @JaredSnider-Bitwarden
2024-11-18 15:58:05 -08:00
..
AuthenticationTokenProviderTests.cs [PM-8107] Remove Duo v2 from server (#4934) 2024-11-18 15:58:05 -08:00
BaseTokenProviderTests.cs [PM-8107] Remove Duo v2 from server (#4934) 2024-11-18 15:58:05 -08:00
DuoUniversalTwoFactorTokenProviderTests.cs [PM-8107] Remove Duo v2 from server (#4934) 2024-11-18 15:58:05 -08:00
EmailTwoFactorTokenProviderTests.cs [PM-8107] Remove Duo v2 from server (#4934) 2024-11-18 15:58:05 -08:00
OrganizationDuoUniversalTwoFactorTokenProviderTests.cs [PM-8107] Remove Duo v2 from server (#4934) 2024-11-18 15:58:05 -08:00