MCPcopy Create free account
hub / github.com/bytebase/bytebase / newProvider

Function newProvider

backend/plugin/webhook/teams/app.go:45–52  ·  view source on GitHub ↗
(tenantID, clientID, clientSecret string)

Source from the content-addressed store, hash-verified

43}
44
45func newProvider(tenantID, clientID, clientSecret string) *provider {
46 return &provider{
47 tenantID: tenantID,
48 clientID: clientID,
49 clientSecret: clientSecret,
50 c: &http.Client{},
51 }
52}
53
54type tokenResponse struct {
55 AccessToken string `json:"access_token"`

Callers 2

postDirectMessageFunction · 0.70
ValidateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected