MCPcopy Index your code
hub / github.com/coder/coder / Do

Method Do

coderd/promoauth/oauth2.go:207–210  ·  view source on GitHub ↗
(ctx context.Context, source Oauth2Source, req *http.Request)

Source from the content-addressed store, hash-verified

205}
206
207func (c *Config) Do(ctx context.Context, source Oauth2Source, req *http.Request) (*http.Response, error) {
208 cli := c.oauthHTTPClient(ctx, source)
209 return cli.Do(req)
210}
211
212func (c *Config) AuthCodeURL(state string, opts ...oauth2.AuthCodeOption) string {
213 // No external requests are made when constructing the auth code url.

Callers

nothing calls this directly

Calls 2

oauthHTTPClientMethod · 0.95
DoMethod · 0.65

Tested by

no test coverage detected