1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-01 13:43:23 +01:00
bitwarden-server/src/Core/IdentityServer
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
..
ApiClient.cs Added static client store (#899) 2020-08-28 13:32:15 -04:00
ApiResources.cs Implemented Custom role and permissions (#1057) 2021-01-12 11:02:39 -05:00
ApiScopes.cs upgrade identity server 4 to v4 (#842) 2020-07-30 17:00:13 -04:00
AuthorizationCodeStore.cs upgrade identity server 4 to v4 (#842) 2020-07-30 17:00:13 -04:00
BaseRequestValidator.cs Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
ClientStore.cs Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
ConfigureOpenIdConnectDistributedOptions.cs Fix safari sso header size (#1065) 2021-01-11 11:03:46 -05:00
CustomTokenRequestValidator.cs Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
DistributedCacheCookieManager.cs Fix safari sso header size (#1065) 2021-01-11 11:03:46 -05:00
DistributedCacheTicketDataFormatter.cs Fix safari sso header size (#1065) 2021-01-11 11:03:46 -05:00
MemoryCacheTicketStore.cs Fix safari sso header size (#1065) 2021-01-11 11:03:46 -05:00
OidcIdentityClient.cs Fix safari sso header size (#1065) 2021-01-11 11:03:46 -05:00
PersistedGrantStore.cs upgrade identity server 4 to v4 (#842) 2020-07-30 17:00:13 -04:00
ProfileService.cs Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
RedisCacheTicketStore.cs Fix safari sso header size (#1065) 2021-01-11 11:03:46 -05:00
ResourceOwnerPasswordValidator.cs Add disable send policy (#1130) 2021-02-04 12:54:21 -06:00
StaticClientStore.cs Added static client store (#899) 2020-08-28 13:32:15 -04:00
TokenRetrieval.cs Changed all C# control flow block statements to include space between keyword and open paren 2020-03-27 14:36:37 -04:00
VaultCorsPolicyService.cs adjust cors origin checks (#800) 2020-06-27 15:08:50 -04:00