MCPcopy Create free account
hub / github.com/authzed/authzed-node / example.js

File example.js

examples/v1/example.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { v1 } from "@authzed/authzed-node";
2// set up it on localhost like this:
3// const client = v1.NewClient('mytokenhere', 'localhost:50051', v1.ClientSecurity.INSECURE_LOCALHOST_ALLOWED);
4const client = v1.NewClient("mytokenhere");

Callers

nothing calls this directly

Calls 5

writeSchemaMethod · 0.65
writeRelationshipsMethod · 0.65
checkPermissionMethod · 0.65
lookupResourcesMethod · 0.65
createMethod · 0.45

Tested by

no test coverage detected