MCPcopy Create free account
hub / github.com/gotify/server / Auth

Struct Auth

auth/authentication.go:29–31  ·  view source on GitHub ↗

Auth is the provider for authentication middleware.

Source from the content-addressed store, hash-verified

27
28// Auth is the provider for authentication middleware.
29type Auth struct {
30 DB Database
31}
32
33type authenticate func(tokenID string, user *model.User) (authenticated, success bool, userId uint, err error)
34

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected