MCPcopy Create free account
hub / github.com/corestoreio/pkg / WithBasicAuth

Function WithBasicAuth

net/auth/options.go:226–236  ·  view source on GitHub ↗

WithBasicAuth provides the basic authentication header but allows to set a custom function to compare the input data of username and password.

(baf BasicAuthFunc, realm string, scopeIDs ...scope.TypeID)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

basicAuthFunction · 0.85
basicAuthHandlerFunction · 0.85
findScopedConfigMethod · 0.45
updateScopedConfigMethod · 0.45

Tested by

no test coverage detected