Skip to content

Commit 71dd9b1

Browse files
stersclaude
andcommitted
docs: update CLAUDE.md to reflect current project structure
- Update component descriptions to match reorganized codebase - Add separate sections for /proxy/saml/ and /config/ directories - Fix reference to test certificates location (example/ not e2e/) - Improve accuracy of architectural documentation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent cbcfc5e commit 71dd9b1

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

CLAUDE.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,18 @@ The application is structured as a stateless HTTP server with modular SAML handl
7676
- Creates SAML providers and starts HTTP server
7777

7878
2. **`/proxy/`**: Core proxy implementation
79-
- `config.go`: Environment-based configuration structures
80-
- `proxy.go`: HTTP handlers and routing logic
81-
- `saml.go`: SAML provider creation and management
82-
- `storage.go`: In-memory storage for auth requests
79+
- HTTP handlers and routing logic
80+
- Error handling and response utilities
81+
- SAML request/response processing
82+
83+
3. **`/proxy/saml/`**: SAML-specific implementation
84+
- `idp.go`: Identity Provider configuration and setup
85+
- `storage.go`: In-memory storage for auth requests and logout contexts
86+
- Certificate and metadata management
87+
88+
4. **`/config/`**: Configuration management
89+
- Environment-based configuration structures
90+
- Configuration validation and loading
8391

8492
### Key Flows
8593

@@ -114,7 +122,7 @@ Configuration is loaded from environment variables:
114122

115123
- Unit tests use `testing` package with table-driven tests
116124
- E2E tests simulate full SAML flows with test certificates
117-
- Test certificates are in `/e2e/` directory
125+
- Integration tests and certificates are in `/example/` directory
118126
- Use `httptest` for HTTP handler testing
119127
- Mock SAML responses for IdP testing
120128

0 commit comments

Comments
 (0)