MCPcopy
hub / github.com/caddyserver/caddy / Authenticate

Method Authenticate

modules/caddyhttp/caddyauth/caddyauth.go:138–138  ·  view source on GitHub ↗
(http.ResponseWriter, *http.Request)

Source from the content-addressed store, hash-verified

136// for a technical reason (not for bad/missing credentials).
137type Authenticator interface {
138 Authenticate(http.ResponseWriter, *http.Request) (User, bool, error)
139}
140
141// User represents an authenticated user.

Callers 1

ServeHTTPMethod · 0.65

Implementers 2

HTTPBasicAuthmodules/caddyhttp/caddyauth/basicauth.
staticAuthenticatormodules/caddyhttp/caddyauth/caddyauth_

Calls

no outgoing calls

Tested by

no test coverage detected