TypeDoc generated docs in here
Library to encapsulate Claims ("verb:resource"
) as well as ClaimSet (set of Claims) and Ability (permitted ClaimSet + prohibited ClaimSet).
TBD
(TypeScript port of https://github.com/eturino/claims)
Library bootstrapped using typescript-starter.
yarn add @eturino/claims
or npm install @eturino/claims
.
Allowed verbs: "admin", "read", "delete", "create", "update", "manage".
see the type docs for now
instantiating the object using the buildClaim()
, buildClaimSet()
and buildAbility()
functions is recommended