♻️ refactor(server): split AuthMiddleware into Optional/Required (RFC 6750 + ISP narrow interface) #91
Reference in New Issue
Block a user
Delete Branch "vibe/batch-pr-a1-split-auth-middlewares"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split AuthMiddleware into OptionalHandler and RequiredHandler variants.
The /greet endpoint continues to use optional auth via the deprecated alias. No behavioral change for existing endpoints.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe vibe@mistral.ai
LGTM - All changes match the spec. Build, vet, and tests pass.