Skip to content

Interface: RequireGuardOptions ​

Defined in: packages/nuxt/src/server.ts:70

The options every require* / can* helper takes (last argument).

Extended by ​

Properties ​

PropertyTypeDescriptionDefined in
guard?stringCheck in this guard instead of the server's (subject.withScope({ guard })), like spatie's role:admin,api. Default: the guard of createRbacServer().packages/nuxt/src/server.ts:75

Released under the MIT License. Inspired by spatie/laravel-permission.