Skip to main content

Type Alias: TreePath

TreePath = string & object

Defined in: packages/authz/src/tree-path.ts:10

A validated path in the subject tree: / for the platform root, otherwise /oktoid/smoke. A brand, so a free string cannot be passed where a path has been checked. Holding a TreePath grants nothing: authority is a Scope.

Type Declaration​

[treePathBrand]​

readonly [treePathBrand]: true