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
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.
npm i @itross/fp-authz
npm i @itross/fp-authz
1
0.1.1
MIT
23.4 kB
13