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

Function WithHookWellKnown

coderd/coderdtest/oidctest/idp.go:270–274  ·  view source on GitHub ↗
(hook func(r *http.Request, j *ProviderJSON) error)

Source from the content-addressed store, hash-verified

268}
269
270func WithHookWellKnown(hook func(r *http.Request, j *ProviderJSON) error) func(*FakeIDP) {
271 return func(f *FakeIDP) {
272 f.hookWellKnown = hook
273 }
274}
275
276// WithRefresh is called when a refresh token is used. The email is
277// the email of the user that is being refreshed assuming the claims are correct.

Callers 2

TestOIDCSkipIssuerFunction · 0.92
TestIDPIssuerMismatchFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestOIDCSkipIssuerFunction · 0.74
TestIDPIssuerMismatchFunction · 0.74