Skip to content

Variable: requireRole ​

ts
const requireRole: Guard<string, RoleGuardOptions> = defaultGuards.requireRole;

Defined in: packages/elysia/src/guards.ts:243

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