UNPKG

nest-phylax

Version:

Security library for NestJS

19 lines (12 loc) 812 B
# [NEW NAME UNKNOWN] ## Installation ```bash npm install [NEW NAME UNKNOWN] ``` [NEW NAME UNKNOWN] is a security library for NestJS applications, providing robust and extensible authentication and authorization out of the box. Designed as a micro-framework on top of NestJS, it simplifies secure API development by automating common security tasks while remaining highly customizable. With minimal configuration, [NEW NAME UNKNOWN] can: - Automatically generate authentication endpoints for login, access tokens, and refresh tokens. - Secure routes using decorators or globally applied guards. - Manage role-based access control (RBAC) and permission-based logic. - Integrate with your user and session models. - Work seamlessly with JWTs, Passport strategies, or custom token providers.