MCPcopy Create free account
hub / github.com/authorizerdev/authorizer / DeleteUser

Method DeleteUser

internal/graphql/delete_user.go:15–19  ·  view source on GitHub ↗

DeleteUser delegates to the transport-agnostic service layer. Resolver is a thin transport adapter. Permissions: authorizer:admin

(ctx context.Context, params *model.DeleteUserRequest)

Source from the content-addressed store, hash-verified

13//
14// Permissions: authorizer:admin
15func (g *graphqlProvider) DeleteUser(ctx context.Context, params *model.DeleteUserRequest) (*model.Response, error) {
16 gc, _ := utils.GinContextFromContext(ctx)
17 res, _, err := g.adminService().DeleteUser(ctx, service.MetaFromGin(gc), params)
18 return res, err
19}

Callers

nothing calls this directly

Calls 4

adminServiceMethod · 0.95
GinContextFromContextFunction · 0.92
MetaFromGinFunction · 0.92
DeleteUserMethod · 0.65

Tested by

no test coverage detected