@nestjs/authorization
v0.1.3
Published
Authorization for NestJS: permissions as policy classes that answer "may this user do this?", enforced on routes and inside services.
Readme
Description
Policy-based authorization module for Nest: policy classes as ordinary providers, enforced by the @Can() guard on routes and by AuthorizationService inside services, across HTTP, GraphQL, WebSockets, microservices and MCP tool calls (@nestjs/mcp), with no third-party dependencies.
Installation
$ npm i --save @nestjs/authorizationQuick Start
Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
Stay in touch
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
License
Nest is MIT licensed.
