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

Function WithCustomClientAuth

coderd/coderdtest/oidctest/idp.go:315–319  ·  view source on GitHub ↗
(hook func(t testing.TB, req *http.Request) (url.Values, error))

Source from the content-addressed store, hash-verified

313}
314
315func WithCustomClientAuth(hook func(t testing.TB, req *http.Request) (url.Values, error)) func(*FakeIDP) {
316 return func(f *FakeIDP) {
317 f.hookAuthenticateClient = hook
318 }
319}
320
321// WithLogging is optional, but will log some HTTP calls made to the IDP.
322func WithLogging(t testing.TB, options *slogtest.Options) func(*FakeIDP) {

Callers 1

TestAzureAKPKIWithCoderdFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestAzureAKPKIWithCoderdFunction · 0.74