Skip to content

Interface: GuardContext ​

Defined in: packages/hono/src/guards.ts:29

Details about a failed check, passed to onUnauthenticated / onForbidden.

Properties ​

PropertyTypeDescriptionDefined in
kindRequirementKind-packages/hono/src/guards.ts:30
requirementsstring[][]Groups of names: every group must pass, a group passes when ANY of its names matches.packages/hono/src/guards.ts:32

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