(w http.ResponseWriter, req *http.Request)
| 151 | } |
| 152 | |
| 153 | func (a *API) verifyOperatorRequest(w http.ResponseWriter, req *http.Request) (context.Context, error) { |
| 154 | c, _, err := a.extractOperatorRequest(w, req) |
| 155 | return c, err |
| 156 | } |
| 157 | |
| 158 | func (a *API) extractOperatorRequest(w http.ResponseWriter, req *http.Request) (context.Context, string, error) { |
| 159 | token, err := a.extractBearerToken(w, req) |
nothing calls this directly
no test coverage detected