Add external auth handler

This commit adds an external auth handler which can be used to
wrap existing handlers, so that they delegate their requests
to an upstream URL before allowing a request to pass through
to an upstream API.

New handler tested with unit tests.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis
2019-06-05 12:30:05 +01:00
parent c48be47db9
commit 5b2a037e7e
2 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1 @@
package handlers