This module provides user authentication functionality for the WayrApp platform.
It serves as the primary controller layer for all authentication-related HTTP endpoints,
handling user registration, login, token refresh, logout, and user profile retrieval operations.
The controller integrates with the UserService for user management, TokenBlacklistService for
security token management, and implements robust validation, error handling, and security measures.
Main authentication controller class with all endpoint handlers. Type definition for login request payload.
Type definition for refresh token request payload. Type definition for user registration request payload.
Type definition for authentication response structure.
Handles all authentication endpoints including registration, login, token refresh, logout, and user profile retrieval.
Authentication Controller Module
This module provides user authentication functionality for the WayrApp platform. It serves as the primary controller layer for all authentication-related HTTP endpoints, handling user registration, login, token refresh, logout, and user profile retrieval operations. The controller integrates with the UserService for user management, TokenBlacklistService for security token management, and implements robust validation, error handling, and security measures.
Main authentication controller class with all endpoint handlers. Type definition for login request payload. Type definition for refresh token request payload. Type definition for user registration request payload. Type definition for authentication response structure.
Handles all authentication endpoints including registration, login, token refresh, logout, and user profile retrieval.
Author
Exequiel Trujillo
Since
1.0.0