MCPcopy
hub / github.com/gotify/server / GetUserByName

Method GetUserByName

auth/authentication.go:22–22  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

20 GetClientByToken(token string) (*model.Client, error)
21 GetPluginConfByToken(token string) (*model.PluginConf, error)
22 GetUserByName(name string) (*model.User, error)
23 GetUserByID(id uint) (*model.User, error)
24 UpdateClientTokensLastUsed(tokens []string, t *time.Time) error
25 UpdateApplicationTokenLastUsed(token string, t *time.Time) error

Callers 2

userFromBasicAuthMethod · 0.65

Implementers 1

GormDatabasedatabase/database.go

Calls

no outgoing calls

Tested by

no test coverage detected