btcpayserver/BTCPayServer/Security/GreenField
Wouter Samaey 6de4f6a3ac
Mention the missing API permission in the response of a Greenfield request (#3195)
* Mention the missing API permission in the response header or body

* Fixes + Added a unit test. 1 TODO remains.

* Added MissingPermissionDescription to the error

* Update BTCPayServer.Tests/GreenfieldAPITests.cs

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>

* Fix tests

* [GreenField]: Make sure we are sending fully typed errors

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2021-12-16 23:04:06 +09:00
..
APIKeyExtensions.cs Local Greenfield Client for Plugins (#2410) 2021-07-27 21:11:47 +09:00
APIKeyRepository.cs Set roles when authenticating via greenfield 2020-09-08 11:22:32 +02:00
APIKeysAuthenticationHandler.cs Local Greenfield Client for Plugins (#2410) 2021-07-27 21:11:47 +09:00
BasicAuthenticationHandler.cs U2fremove (#2496) 2021-04-28 16:22:09 +09:00
GreenFieldAuthenticationOptions.cs Move directories, rename controllers 2020-03-27 12:58:45 +09:00
GreenFieldAuthorizationHandler.cs Mention the missing API permission in the response of a Greenfield request (#3195) 2021-12-16 23:04:06 +09:00
GreenFieldConstants.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00