Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bytebase/bytebase
/ ValidateToken
Function
ValidateToken
backend/plugin/webhook/slack/app.go:29–31 ·
view source on GitHub ↗
(ctx context.Context, token string)
Source
from the content-addressed store, hash-verified
27
}
28
29
func
ValidateToken(ctx context.Context, token string) error {
30
return
newProvider(token).authTest(ctx)
31
}
32
33
type
authTestResponse
struct
{
34
OK bool `json:
"ok"
`
Callers
1
UpdateSetting
Method · 0.92
Calls
2
authTest
Method · 0.80
newProvider
Function · 0.70
Tested by
no test coverage detected