Auth Implementation Patterns
Implements secure authentication and authorization systems using JWT, OAuth2, and robust access control patterns.
This skill provides Claude with specialized knowledge to design and implement industry-standard security architectures. It covers a wide range of patterns including stateless JWT flows with refresh tokens, stateful session management via Redis, and third-party social logins using OAuth2 and Passport.js. Beyond authentication, it offers detailed implementation strategies for Role-Based Access Control (RBAC) and permission-based authorization, making it an essential resource for securing APIs and managing complex user permissions in modern web applications.
主要功能
01OAuth2 and social login patterns for Google and GitHub
020 GitHub stars
03Granular Role-Based Access Control (RBAC) hierarchy systems
04Stateless JWT implementation with secure refresh token rotation
05Security middleware for protecting REST and GraphQL endpoints
06Stateful session-based authentication with Redis integration
使用场景
01Refactoring legacy session-based auth to modern JWT architectures
02Implementing social login and SSO for web applications
03Building secure API backends with multi-tenant access control