(t testing.TB, scopes []string, opts ...func(cfg *coderd.OIDCConfig))
| 1676 | } |
| 1677 | |
| 1678 | func (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. |
| 1683 | func (f *FakeIDP) internalOIDCConfig(ctx context.Context, t testing.TB, scopes []string, verifierOpt func(config *oidc.Config), opts ...func(cfg *coderd.OIDCConfig)) *coderd.OIDCConfig { |