MCPcopy
hub / github.com/filebrowser/filebrowser / NoAuth

Struct NoAuth

auth/none.go:14–14  ·  view source on GitHub ↗

NoAuth is no auth implementation of auther.

Source from the content-addressed store, hash-verified

12
13// NoAuth is no auth implementation of auther.
14type NoAuth struct{}
15
16// Auth uses authenticates user 1.
17func (a NoAuth) Auth(_ *http.Request, usr users.Store, _ *settings.Settings, srv *settings.Server) (*users.User, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected