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

Method AdminMeta

internal/graphql/provider.go:136–136  ·  view source on GitHub ↗

AdminMeta returns admin-only configuration metadata (e.g. the configured roles), the non-deprecated replacement for the bits of _env the dashboard needs. Permissions: authorizer:admin

(ctx context.Context)

Source from the content-addressed store, hash-verified

134 // needs.
135 // Permissions: authorizer:admin
136 AdminMeta(ctx context.Context) (*model.AdminMeta, error)
137 // Profile is the method to get profile.
138 // Permissions: authorized user
139 Profile(ctx context.Context) (*model.User, error)

Callers 5

TestAdminMetaFunction · 0.65
TestAdminMetaGRPCFunction · 0.65
AdminMetaMethod · 0.65
AdminMetaMethod · 0.65
AdminMetaMethod · 0.65

Calls

no outgoing calls

Tested by 2

TestAdminMetaFunction · 0.52
TestAdminMetaGRPCFunction · 0.52