MCPcopy Index your code
hub / github.com/supabase/auth / adminUserGet

Method adminUserGet

internal/api/admin.go:135–139  ·  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

133
134// adminUserGet returns information about a single user
135func (a *API) adminUserGet(w http.ResponseWriter, r *http.Request) error {
136 user := getUser(r.Context())
137
138 return sendJSON(w, http.StatusOK, user)
139}
140
141// adminUserUpdate updates a single user object
142func (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