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

Function WithServing

coderd/coderdtest/oidctest/idp.go:370–374  ·  view source on GitHub ↗

WithServing makes the IDP run an actual http server.

()

Source from the content-addressed store, hash-verified

368
369// WithServing makes the IDP run an actual http server.
370func WithServing() func(*FakeIDP) {
371 return func(f *FakeIDP) {
372 f.serve = true
373 }
374}
375
376func WithIssuer(issuer string) func(*FakeIDP) {
377 return func(f *FakeIDP) {

Callers 15

TestExternalAuthByIDFunction · 0.92
TestExternalAuthDeviceFunction · 0.92
TestUserOAuth2GithubFunction · 0.92
TestUserOIDCFunction · 0.92
TestOIDCSkipIssuerFunction · 0.92
TestPostUsersFunction · 0.92
TestAzureAKPKIWithCoderdFunction · 0.92

Calls

no outgoing calls

Tested by 15

TestExternalAuthByIDFunction · 0.74
TestExternalAuthDeviceFunction · 0.74
TestUserOAuth2GithubFunction · 0.74
TestUserOIDCFunction · 0.74
TestOIDCSkipIssuerFunction · 0.74
TestPostUsersFunction · 0.74
TestAzureAKPKIWithCoderdFunction · 0.74