Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
40
func
NewAuth() *Auth {
41
return
&Auth{}
42
}
43
44
func
(m *Auth) Insert(token string, uid int) (err error) {
45
m.DeleteByToken(token)
Callers
5
isLogin
Method · 0.92
Prepare
Method · 0.92
Logout
Method · 0.92
login
Method · 0.92
RegisterModel
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected