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

Function WithBasicAuth

net/csgrpc/auth/service.go:75–149  ·  view source on GitHub ↗

WithBasicAuth uses basic authentication. Stores the username in the context for later access.

(bo BasicOptions)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 11

unavailableErrorTypeAlias · 0.85
authFromMDFunction · 0.85
ctxWithKeyValueFunction · 0.85
ConstantTimeCompareMethod · 0.80
GetMethod · 0.65
StringMethod · 0.65
DebugMethod · 0.45
BoolMethod · 0.45
IntMethod · 0.45
ErrMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected