Interface: RbacRequestContext
Defined in: packages/elysia/src/plugin.ts:25
The request context rbacPlugin() reads the subject from. Elysia's full context type depends on the app, so the plugin types only what every request has; read your own derived values (e.g. user) with a cast or from request, or resolve them before the plugin.
Indexable
ts
[key: string]: unknownProperties
| Property | Type | Defined in |
|---|---|---|
headers | Record<string, string | undefined> | packages/elysia/src/plugin.ts:27 |
request | Request | packages/elysia/src/plugin.ts:26 |
