mirror of
https://github.com/openfaas/faas.git
synced 2025-06-27 01:03:26 +00:00
Differentiate external service auth from user auth
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
7
gateway/handlers/serviceauthinjector.go
Normal file
7
gateway/handlers/serviceauthinjector.go
Normal file
@ -0,0 +1,7 @@
|
||||
package handlers
|
||||
|
||||
import "net/http"
|
||||
|
||||
type AuthInjector interface {
|
||||
Inject(r *http.Request)
|
||||
}
|
Reference in New Issue
Block a user