()
| 153 | } |
| 154 | |
| 155 | func (f *fakeIDPLocked) FakeCoderd() func(req *http.Request) (*http.Response, error) { |
| 156 | f.mu.RLock() |
| 157 | defer f.mu.RUnlock() |
| 158 | return f.fakeCoderd |
| 159 | } |
| 160 | |
| 161 | // FakeIDP is a functional OIDC provider. |
| 162 | // It only supports 1 OIDC client. |