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

Struct testOAuth2Provider

coderd/httpmw/oauth2_test.go:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17)
18
19type testOAuth2Provider struct {
20 t testing.TB
21 authOpts []oauth2.AuthCodeOption
22}
23
24func (p *testOAuth2Provider) AuthCodeURL(state string, opts ...oauth2.AuthCodeOption) string {
25 assert.EqualValues(p.t, p.authOpts, opts)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected