backend-service/internal
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
..
cli feat(project): Initialize project structure and core components 2025-11-05 15:06:07 +00:00
config feat(project): Initialize project structure and core components 2025-11-05 15:06:07 +00:00
database feat(project): Initialize project structure and core components 2025-11-05 15:06:07 +00:00
handlers feat(project): Initialize project structure and core components 2025-11-05 15:06:07 +00:00
middleware feat(auth): Implement comprehensive authentication and authorization middleware 2025-11-05 15:21:56 +00:00
models refactor(models): Enhance notification and schedule model structures 2025-11-05 15:07:28 +00:00
repositories feat(auth): Implement comprehensive authentication and authorization middleware 2025-11-05 15:21:56 +00:00
server feat(project): Initialize project structure and core components 2025-11-05 15:06:07 +00:00
services feat(auth): Implement comprehensive authentication and authorization middleware 2025-11-05 15:21:56 +00:00