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

Function WithLogger

coderd/coderdtest/oidctest/idp.go:328–332  ·  view source on GitHub ↗
(logger slog.Logger)

Source from the content-addressed store, hash-verified

326}
327
328func WithLogger(logger slog.Logger) func(*FakeIDP) {
329 return func(f *FakeIDP) {
330 f.logger = logger
331 }
332}
333
334// WithStaticUserInfo is optional, but will return the same user info for
335// every user on the /userinfo endpoint.

Callers 1

RunIDPFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected