diff --git a/gateway/pkg/middleware/serviceauthinjector.go b/gateway/pkg/middleware/serviceauthinjector.go index 7f9b95b1..7448b4cf 100644 --- a/gateway/pkg/middleware/serviceauthinjector.go +++ b/gateway/pkg/middleware/serviceauthinjector.go @@ -2,6 +2,8 @@ package middleware import "net/http" +// AuthInjector is an interface for injecting authentication information into a request +// which will be proxied or made to a remote/upstream service. type AuthInjector interface { Inject(r *http.Request) }