mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 20:16:37 +00:00
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:
1
gateway/handlers/external_auth.go
Normal file
1
gateway/handlers/external_auth.go
Normal file
@ -0,0 +1 @@
|
||||
package handlers
|
Reference in New Issue
Block a user