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

Method GetClientByToken

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

Source from the content-addressed store, hash-verified

18type Database interface {
19 GetApplicationByToken(token string) (*model.Application, error)
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)

Callers 3

RequireAdminMethod · 0.65
RequireClientMethod · 0.65
OptionalMethod · 0.65

Implementers 1

GormDatabasedatabase/database.go

Calls

no outgoing calls

Tested by

no test coverage detected