mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
10 lines
247 B
Go
10 lines
247 B
Go
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)
|
|
}
|