MCPcopy
hub / github.com/dgraph-io/dgraph / currentUserResolver

Struct currentUserResolver

graphql/admin/current_user.go:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15)
16
17type currentUserResolver struct {
18 baseRewriter resolve.QueryRewriter
19}
20
21func extractName(ctx context.Context) (string, error) {
22 accessJwt, err := x.ExtractJwt(ctx)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected