MCPcopy
hub / github.com/openfga/openfga / ReadAuthorizationModelQuery

Struct ReadAuthorizationModelQuery

pkg/server/commands/read_authzmodel.go:15–18  ·  view source on GitHub ↗

ReadAuthorizationModelQuery retrieves a single type definition from a storage backend.

Source from the content-addressed store, hash-verified

13
14// ReadAuthorizationModelQuery retrieves a single type definition from a storage backend.
15type ReadAuthorizationModelQuery struct {
16 backend storage.AuthorizationModelReadBackend
17 logger logger.Logger
18}
19
20type ReadAuthModelQueryOption func(*ReadAuthorizationModelQuery)
21

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected