nestjs/authorization

An authorization module for NestJS (Node.js) 🪪

★ 2Forks 0TypeScriptGitHub ↗Compare
authorizationnestjsnodejspolicy-managed

README

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads Discord Backers on Open Collective Sponsors on Open Collective

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 and microservices, with no third-party dependencies.

Installation

$ npm i --save @nestjs/authorization

Quick Start

Overview & Tutorial

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

License

Nest is MIT licensed.

Contributors

kamilmysliwiec

Issues