noopAuth is the auth provider used when no auth is configured. It exists primarily so the resolver doesn't need to nil-check provider references on the hot path.
| 65 | // exists primarily so the resolver doesn't need to nil-check provider |
| 66 | // references on the hot path. |
| 67 | type noopAuth struct{} |
| 68 | |
| 69 | func (noopAuth) Apply(context.Context, *http.Request, http.Header) error { return nil } |
| 70 | func (noopAuth) OnUnauthorized(context.Context) error { return nil } |
nothing calls this directly
no outgoing calls
no test coverage detected