MCPcopy
hub / github.com/openfaas/faas / AuthInjector

Interface AuthInjector

gateway/pkg/middleware/serviceauthinjector.go:7–9  ·  view source on GitHub ↗

AuthInjector is an interface for injecting authentication information into a request which will be proxied or made to a remote/upstream service.

Source from the content-addressed store, hash-verified

5// AuthInjector is an interface for injecting authentication information into a request
6// which will be proxied or made to a remote/upstream service.
7type AuthInjector interface {
8 Inject(r *http.Request)
9}

Callers 3

GetReplicasMethod · 0.65
SetReplicasMethod · 0.65
forwardRequestFunction · 0.65

Implementers 1

BasicAuthInjectorgateway/pkg/middleware/basic_auth_inje

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…