MCPcopy
hub / github.com/perkeep/perkeep / tokenAuth

Struct tokenAuth

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

Source from the content-addressed store, hash-verified

210}
211
212type tokenAuth struct {
213 token string
214}
215
216func (t *tokenAuth) AllowedAccess(r *http.Request) Operation {
217 if authTokenHeaderMatches(r) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected