1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-01 13:43:23 +01:00
bitwarden-server/src/Core/Identity
Matt Gibson edd4bc2623
Add disable send policy (#1130)
* Add Disable Send policy

* Test DisableSend policy

* PR Review

* Update tests for using CurrentContext

This required making an interface for CurrentContext and mocking out
the members used. The interface can be expanded as needed for tests.

I moved CurrentContext to a folder, which changes the namespace
and causes a lot of file touches, but most are just adding a reference

* Fix failing test

* Update exemption to include all exempt users

* Move all CurrentContext usages to ICurrentContext

* PR review. Match messaging with Web
2021-02-04 12:54:21 -06:00
..
AuthenticatorTokenProvider.cs Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
CustomIdentityServiceCollectionExtensions.cs Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
DuoWebTokenProvider.cs Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
EmailTokenProvider.cs Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
IOrganizationTwoFactorTokenProvider.cs added org duo to 2fa flow 2018-04-03 14:31:33 -04:00
LowerInvariantLookupNormalizer.cs upgrade to aspnet core 3.1 2020-01-10 08:33:13 -05:00
OrganizationDuoWebTokenProvider.cs Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
PasswordlessSignInManager.cs Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
ReadOnlyDatabaseIdentityUserStore.cs Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
ReadOnlyEnvIdentityUserStore.cs Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
ReadOnlyIdentityUserStore.cs passwordless sign in for admin 2018-03-21 14:26:49 -04:00
RoleStore.cs move domains to Models.Table 2017-03-08 21:45:08 -05:00
TwoFactorRememberTokenProvider.cs upgrade to aspnet core 3.1 2020-01-10 08:33:13 -05:00
U2fTokenProvider.cs Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
UserStore.cs Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
YubicoOtpTokenProvider.cs Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00