MCPcopy Index your code
hub / github.com/TruthHun/BookStack / NewAuth

Function NewAuth

models/api.go:40–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40func NewAuth() *Auth {
41 return &Auth{}
42}
43
44func (m *Auth) Insert(token string, uid int) (err error) {
45 m.DeleteByToken(token)

Callers 5

isLoginMethod · 0.92
PrepareMethod · 0.92
LogoutMethod · 0.92
loginMethod · 0.92
RegisterModelFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected