This skill equips Claude with specialized patterns for building production-grade access control systems. It provides comprehensive guidance on implementing stateless JWT authentication with refresh token rotation, stateful session management via Redis, and third-party social login through OAuth2. Beyond identity verification, the skill covers granular authorization models including Role-Based Access Control (RBAC) and Permission-Based Access Control (PBAC), ensuring developers can secure REST and GraphQL APIs using industry-standard security best practices and middleware patterns.
主要功能
01JWT implementation with secure refresh token rotation flows
02Stateful session management patterns using Redis storage
0323,194 GitHub stars
04Social login integration using OAuth2 and Passport.js
05Secure password hashing and token verification strategies
06Granular RBAC and PBAC middleware for resource protection
使用场景
01Securing a RESTful API with stateless JWT tokens and middleware
02Implementing a multi-tenant RBAC system for enterprise applications
03Adding Google or GitHub social authentication to a Node.js backend