MCPcopy Create free account
hub / github.com/netlify/gotrue / verifyOperatorRequest

Method verifyOperatorRequest

api/middleware.go:153–156  ·  view source on GitHub ↗
(w http.ResponseWriter, req *http.Request)

Source from the content-addressed store, hash-verified

151}
152
153func (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
158func (a *API) extractOperatorRequest(w http.ResponseWriter, req *http.Request) (context.Context, string, error) {
159 token, err := a.extractBearerToken(w, req)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected