Skip to content

Interface: GuardContext ​

Defined in: packages/express/src/guards.ts:28

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

Properties ​

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

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