MCPcopy
hub / github.com/fabiolb/fabio / basic

Struct basic

auth/basic.go:15–18  ·  view source on GitHub ↗

basic is an implementation of AuthScheme

Source from the content-addressed store, hash-verified

13
14// basic is an implementation of AuthScheme
15type basic struct {
16 secrets *htpasswd.File
17 realm string
18}
19
20func newBasicAuth(cfg config.BasicAuth) (AuthScheme, error) {
21 bad := func(err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected