Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringproxy/boringproxy
/ Authorized
Method
Authorized
auth.go:25–33 ·
view source on GitHub ↗
(token string)
Source
from the content-addressed store, hash-verified
23
}
24
25
func
(a *Auth) Authorized(token string) bool {
26
_, exists := a.db.GetTokenData(token)
27
28
if
exists {
29
return
true
30
}
31
32
return
false
33
}
Callers
1
handleLogin
Method · 0.80
Calls
1
GetTokenData
Method · 0.80
Tested by
no test coverage detected