@itross/fp-authz

0.1.1 • Public • Published

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

License

MIT

Package Sidebar

Install

npm i @itross/fp-authz

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

23.4 kB

Total Files

13

Last publish

Collaborators

  • joshuagame