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