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

Method Validate

auth/auth.go:15–15  ·  view source on GitHub ↗
(ctx context.Context, wr http.ResponseWriter, req *http.Request)

Source from the content-addressed store, hash-verified

13
14type Auth interface {
15 Validate(ctx context.Context, wr http.ResponseWriter, req *http.Request) (string, bool)
16 io.Closer
17}
18

Callers 8

requireBasicAuthFunction · 0.65
TestNewResponseStaticFunction · 0.65
handleSuccessMethod · 0.65
handleRejectMethod · 0.65
handleRejectMethod · 0.65
ValidateMethod · 0.65
ServeHTTPMethod · 0.65
rejectMethod · 0.65

Implementers 9

RedisAuthauth/redis.go
BasicAuthauth/basic.go
TLSCookieAuthauth/tlscookie.go
StaticRejectAuthauth/rejectstatic.go
HMACAuthauth/hmac.go
RejectHTTPAuthauth/rejecthttp.go
CertAuthauth/cert.go
NoAuthauth/noauth.go
staticRejecthandler/direct_test.go

Calls

no outgoing calls

Tested by 1

TestNewResponseStaticFunction · 0.52