MCPcopy 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
29func ValidateToken(ctx context.Context, token string) error {
30 return newProvider(token).authTest(ctx)
31}
32
33type authTestResponse struct {
34 OK bool `json:"ok"`

Callers 1

UpdateSettingMethod · 0.92

Calls 2

authTestMethod · 0.80
newProviderFunction · 0.70

Tested by

no test coverage detected