btcpayserver/BTCPayServer/Security/GreenField
Andrew Camilleri 0652e30c30
GreenField: Notifications API (#2055)
* GreenField: Notifications API

This refactors notifications so that we dont have a bunch of duplicated direct access to db contexts in controllers and then introduces new endpoints to fetch/toggle seen/remove  notifications of the current user.

* add tests + docs

* fix test

* pr changes

* fix permission json
2020-12-11 23:11:08 +09:00
..
APIKeyExtensions.cs Plugins: Allow creation of independent DbContexts 2020-11-18 12:27:26 +01:00
APIKeyRepository.cs Set roles when authenticating via greenfield 2020-09-08 11:22:32 +02:00
APIKeysAuthenticationHandler.cs Set roles when authenticating via greenfield 2020-09-08 11:22:32 +02:00
BasicAuthenticationHandler.cs Set roles when authenticating via greenfield 2020-09-08 11:22:32 +02:00
GreenFieldAuthenticationOptions.cs Move directories, rename controllers 2020-03-27 12:58:45 +09:00
GreenFieldAuthorizationHandler.cs GreenField: Notifications API (#2055) 2020-12-11 23:11:08 +09:00
GreenFieldConstants.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00