Skip to content

Commit bcfc9f2

Browse files
committed
make gen
1 parent 961a9a9 commit bcfc9f2

File tree

7 files changed

+25
-3
lines changed

7 files changed

+25
-3
lines changed

coderd/apidoc/docs.go

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/coderdtest/oidctest/idp.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1420,17 +1420,17 @@ func (f *FakeIDP) OauthConfig(t testing.TB, scopes []string) *oauth2.Config {
14201420
func (f *FakeIDP) OIDCConfigSkipIssuerChecks(t testing.TB, scopes []string, opts ...func(cfg *coderd.OIDCConfig)) *coderd.OIDCConfig {
14211421
ctx := oidc.InsecureIssuerURLContext(context.Background(), f.issuer)
14221422

1423-
return f.oidcConfig(ctx, t, scopes, func(config *oidc.Config) {
1423+
return f.internalOIDCConfig(ctx, t, scopes, func(config *oidc.Config) {
14241424
config.SkipIssuerCheck = true
14251425
}, opts...)
14261426
}
14271427

14281428
func (f *FakeIDP) OIDCConfig(t testing.TB, scopes []string, opts ...func(cfg *coderd.OIDCConfig)) *coderd.OIDCConfig {
1429-
return f.oidcConfig(context.Background(), t, scopes, nil, opts...)
1429+
return f.internalOIDCConfig(context.Background(), t, scopes, nil, opts...)
14301430
}
14311431

14321432
// OIDCConfig returns the OIDC config to use for Coderd.
1433-
func (f *FakeIDP) oidcConfig(ctx context.Context, t testing.TB, scopes []string, verifierOpt func(config *oidc.Config), opts ...func(cfg *coderd.OIDCConfig)) *coderd.OIDCConfig {
1433+
func (f *FakeIDP) internalOIDCConfig(ctx context.Context, t testing.TB, scopes []string, verifierOpt func(config *oidc.Config), opts ...func(cfg *coderd.OIDCConfig)) *coderd.OIDCConfig {
14341434
t.Helper()
14351435

14361436
oauthCfg := f.OauthConfig(t, scopes)

coderd/userauth_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -1559,6 +1559,7 @@ func TestOIDCSkipIssuer(t *testing.T) {
15591559

15601560
// User can login and use their token.
15611561
ctx := testutil.Context(t, testutil.WaitShort)
1562+
//nolint:bodyclose
15621563
userClient, _ := fake.Login(t, owner, jwt.MapClaims{
15631564
"iss": primaryURLString,
15641565
"email": "alice@coder.com",

docs/api/general.md

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/api/schemas.md

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/cli/server.md

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)