MCPcopy
hub / github.com/filebrowser/filebrowser / Auther

Interface Auther

auth/auth.go:11–16  ·  view source on GitHub ↗

Auther is the authentication interface.

Source from the content-addressed store, hash-verified

9
10// Auther is the authentication interface.
11type Auther interface {
12 // Auth is called to authenticate a request.
13 Auth(r *http.Request, usr users.Store, stg *settings.Settings, srv *settings.Server) (*users.User, error)
14 // LoginPage indicates if this auther needs a login page.
15 LoginPage() bool
16}

Callers 2

loginHandlerFunction · 0.65
handleWithStaticDataFunction · 0.65

Implementers 4

ProxyAuthauth/proxy.go
HookAuthauth/hook.go
NoAuthauth/none.go
JSONAuthauth/json.go

Calls

no outgoing calls

Tested by

no test coverage detected