featherbed
featherbed copied to clipboard
Add authentication framework
- Add the ability to place filters before the HTTP service, configurable at the request level
- Add the concept of an Authorizer, which is just a filter.
- Add some initial Authorizers - Bearer (for pre-shared Bearer tokens) and MAC (for pre-shared MAC tokens)
A future PR should contain a full OAuth2 flow implemented in an Authorizer.
Current coverage is 54.48% (diff: 20.23%)
@@ master #44 diff @@
==========================================
Files 9 10 +1
Lines 262 312 +50
Methods 259 308 +49
Messages 0 0
Branches 3 4 +1
==========================================
+ Hits 166 170 +4
- Misses 96 142 +46
Partials 0 0
Powered by Codecov. Last update bdecef0...e747ec5
@jeremyrsmith is it possible to write a test for Bearer and MAC authorizers?