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

Method getAdminParams

internal/api/admin.go:95–102  ·  view source on GitHub ↗
(r *http.Request)

Source from the content-addressed store, hash-verified

93}
94
95func (a *API) getAdminParams(r *http.Request) (*AdminUserParams, error) {
96 params := &AdminUserParams{}
97 if err := retrieveRequestParams(r, params); err != nil {
98 return nil, err
99 }
100
101 return params, nil
102}
103
104// adminUsers responds with a list of all users in a given audience
105func (a *API) adminUsers(w http.ResponseWriter, r *http.Request) error {

Callers 2

adminUserUpdateMethod · 0.95
adminUserCreateMethod · 0.95

Calls 1

retrieveRequestParamsFunction · 0.85

Tested by

no test coverage detected