WithLogging is optional, but will log some HTTP calls made to the IDP.
(t testing.TB, options *slogtest.Options)
| 320 | |
| 321 | // WithLogging is optional, but will log some HTTP calls made to the IDP. |
| 322 | func WithLogging(t testing.TB, options *slogtest.Options) func(*FakeIDP) { |
| 323 | return func(f *FakeIDP) { |
| 324 | f.logger = slogtest.Make(t, options).Named("fakeidp") |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | func WithLogger(logger slog.Logger) func(*FakeIDP) { |
| 329 | return func(f *FakeIDP) { |