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

Method Profile

internal/graphql/profile.go:13–17  ·  view source on GitHub ↗

Profile delegates to the transport-agnostic service layer. Permissions: authenticated user.

(ctx context.Context)

Source from the content-addressed store, hash-verified

11// Profile delegates to the transport-agnostic service layer.
12// Permissions: authenticated user.
13func (g *graphqlProvider) Profile(ctx context.Context) (*model.User, error) {
14 gc, _ := utils.GinContextFromContext(ctx)
15 res, _, err := g.ServiceProvider.Profile(ctx, service.MetaFromGin(gc))
16 return res, err
17}

Callers

nothing calls this directly

Calls 3

GinContextFromContextFunction · 0.92
MetaFromGinFunction · 0.92
ProfileMethod · 0.65

Tested by

no test coverage detected