Skip to main content
Version: 4.x (latest)

Public API reference

The reference below is generated from the TypeScript source with TypeDoc on every documentation build. Use it for complete signatures, types, and adapter options. The guides provide implementation context and executable examples.

Import pathExports
@rbac/corecreateRBAC, RBACOptions, RBACEngine, role and condition types
@rbac/core/helperscallbackWhen and other core helpers
@rbac/adapterscreateTenantRBAC, RoleAdapter, MongoRoleAdapter, MySQLRoleAdapter, PostgresRoleAdapter
@rbac/expresscreateExpressMiddleware and associated types
@rbac/fastifycreateFastifyMiddleware and associated types
@rbac/nestjscreateNestMiddleware, createNestGuard and associated types
@rbac/schemaswhenSchema, roleOperationSchema, roleSchema, rolesSchema

Browse the generated entries under this API sidebar or start at the TypeDoc reference.