apiKeyAuth attaches a key as either a header or a query parameter. OpenAPI distinguishes these via the securityScheme's `in` field, but users supply it directly in the GraphJin config so we don't need to thread that through.
| 112 | // users supply it directly in the GraphJin config so we don't need to |
| 113 | // thread that through. |
| 114 | type apiKeyAuth struct { |
| 115 | cfg AuthConfig |
| 116 | } |
| 117 | |
| 118 | func (a *apiKeyAuth) Apply(_ context.Context, req *http.Request, hdrIn http.Header) error { |
| 119 | val := a.cfg.KeyValue |
nothing calls this directly
no outgoing calls
no test coverage detected