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

Method OIDCConfig

coderd/coderdtest/oidctest/idp.go:1678–1680  ·  view source on GitHub ↗
(t testing.TB, scopes []string, opts ...func(cfg *coderd.OIDCConfig))

Source from the content-addressed store, hash-verified

1676}
1677
1678func (f *FakeIDP) OIDCConfig(t testing.TB, scopes []string, opts ...func(cfg *coderd.OIDCConfig)) *coderd.OIDCConfig {
1679 return f.internalOIDCConfig(context.Background(), t, scopes, nil, opts...)
1680}
1681
1682// OIDCConfig returns the OIDC config to use for Coderd.
1683func (f *FakeIDP) internalOIDCConfig(ctx context.Context, t testing.TB, scopes []string, verifierOpt func(config *oidc.Config), opts ...func(cfg *coderd.OIDCConfig)) *coderd.OIDCConfig {

Callers 15

TestUserOAuth2GithubFunction · 0.95
TestUserOIDCFunction · 0.95
TestPostUsersFunction · 0.95
TestAzureAKPKIWithCoderdFunction · 0.95
ExternalAuthConfigMethod · 0.95
TestFakeIDPBasicFlowFunction · 0.95
TestInstrumentFunction · 0.95
TestGithubRateLimitsFunction · 0.95
setupOauth2TestFunction · 0.95

Calls 1

internalOIDCConfigMethod · 0.95

Tested by 15

TestUserOAuth2GithubFunction · 0.76
TestUserOIDCFunction · 0.76
TestPostUsersFunction · 0.76
TestAzureAKPKIWithCoderdFunction · 0.76
TestFakeIDPBasicFlowFunction · 0.76
TestInstrumentFunction · 0.76
TestGithubRateLimitsFunction · 0.76
setupOauth2TestFunction · 0.76