Reference docMembers
auth-implementation-patterns - detailed patterns and worked examples
auth-implementation-patterns - detailed patterns and worked examples is a reference document for Claude Code, from the wshobson agents and plugins collection by wshobson. The full text is about 1,565 words in 14 sections, with 9 code blocks. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.
It is most useful for people working in Product and engineering and Security who use Claude Code.
What it covers
- JWT Authentication
- Pattern 1: JWT Implementation
- Pattern 2: Refresh Token Flow
- Session-Based Authentication
- Pattern 1: Express Session
- OAuth2 / Social Login
- Pattern 1: OAuth2 with Passport.js
- Authorization Patterns
- Pattern 1: Role-Based Access Control RBAC
- Pattern 2: Permission-Based Access Control
The full text is in the members library
Book a call and we will give you access to the full Claude Code library: every entry in full, search by meaning, copy and download.
Author: wshobson, wshobson agents and plugins. License: MIT.