backend-service/internal/services
ats-tech25 8309f38999 feat(auth): Implement comprehensive authentication and authorization middleware
- Add JWT authentication middleware with token validation
- Implement user context extraction methods for user ID, email, and admin status
- Create admin middleware to restrict access to admin-only routes
- Add convenience method to combine authentication and admin authorization
- Update auth middleware to handle token parsing, validation, and context setting
- Enhance error handling for various authentication scenarios
- Add new JWT service and related dependencies in go.mod
2025-11-05 15:21:56 +00:00
..
interfaces.go feat(project): Initialize project structure and core components 2025-11-05 15:06:07 +00:00
jwt_service.go feat(auth): Implement comprehensive authentication and authorization middleware 2025-11-05 15:21:56 +00:00