MCPcopy Create free account
hub / github.com/SenseUnit/dumbproxy / Validate

Method Validate

auth/rejecthttp.go:49–53  ·  view source on GitHub ↗
(ctx context.Context, w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

47}
48
49func (a *RejectHTTPAuth) Validate(ctx context.Context, w http.ResponseWriter, r *http.Request) (string, bool) {
50 r = r.Clone(ctx)
51 a.proxy.ServeHTTP(w, r)
52 return "", false
53}
54
55func (_ *RejectHTTPAuth) Valid(_, _, _ string) bool {
56 return false

Callers

nothing calls this directly

Calls 1

ServeHTTPMethod · 0.80

Tested by

no test coverage detected