(hook func(r *http.Request, j *ProviderJSON) error)
| 268 | } |
| 269 | |
| 270 | func 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. |
no outgoing calls