MCPcopy
hub / github.com/perkeep/perkeep / AddAuthHeader

Method AddAuthHeader

pkg/auth/auth.go:71–71  ·  view source on GitHub ↗

AddAuthHeader inserts in req the credentials needed for a client to authenticate.

(req *http.Request)

Source from the content-addressed store, hash-verified

69 // AddAuthHeader inserts in req the credentials needed
70 // for a client to authenticate.
71 AddAuthHeader(req *http.Request)
72}
73
74// UnauthorizedSender may be implemented by AuthModes which want to

Callers 7

RemoveBlobsMethod · 0.65
newRequestMethod · 0.65
TestMultiModeFunction · 0.65
TestEmptyPasswordsFunction · 0.65
addAuthFunction · 0.65
getUploadURLFunction · 0.65
uploadFileFunction · 0.65

Implementers 5

tailscaleAuthpkg/auth/tailscaleauth.go
tokenAuthpkg/auth/auth.go
UserPasspkg/auth/auth.go
Nonepkg/auth/auth.go
DevAuthpkg/auth/auth.go

Calls

no outgoing calls

Tested by 2

TestMultiModeFunction · 0.52
TestEmptyPasswordsFunction · 0.52