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

Method adminUserGet

api/admin.go:84–88  ·  view source on GitHub ↗

adminUserGet returns information about a single user

(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

82
83// adminUserGet returns information about a single user
84func (a *API) adminUserGet(w http.ResponseWriter, r *http.Request) error {
85 user := getUser(r.Context())
86
87 return sendJSON(w, http.StatusOK, user)
88}
89
90// adminUserUpdate updates a single user object
91func (a *API) adminUserUpdate(w http.ResponseWriter, r *http.Request) error {

Callers

nothing calls this directly

Calls 2

getUserFunction · 0.85
sendJSONFunction · 0.85

Tested by

no test coverage detected