MCPcopy Create free account
hub / github.com/pace/bricks / GetAuthHeader

Function GetAuthHeader

http/security/helper.go:56–58  ·  view source on GitHub ↗

GetAuthHeader creates the valid value for the authentication header

(tok Token)

Source from the content-addressed store, hash-verified

54
55// GetAuthHeader creates the valid value for the authentication header
56func GetAuthHeader(tok Token) string {
57 return headerPrefix + tok.GetValue()
58}

Callers 1

RequestFunction · 0.92

Calls 1

GetValueMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…