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

Struct OAuth2Config

testutil/oauth2.go:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type OAuth2Config struct {
16 Token *oauth2.Token
17 TokenSourceFunc OAuth2TokenSource
18
19 httpClientOnce sync.Once
20 httpClient *http.Client
21}
22
23// Do issues req using a dedicated http.Client per OAuth2Config so a
24// parallel httptest.Server.Close() (which calls CloseIdleConnections

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected