@itross/fp-authz
v0.1.1
Published
Fastify plugin for JWT authorization with roles
Maintainers
Readme
fp-authz
Fastify plugin for JWT authorization with roles. Authorization can be performed both for all roles and for a subset of them. However, the user's role must be one of the configured ones.
Install
npm i @itross/fp-authz