refactor: enhance WHMCS HTTP client and authentication error handling

- Improved error logging in WhmcsHttpClientService by simplifying log messages.
- Introduced RequestWithCookies type for better type safety in auth controllers.
- Refactored ValidatedUser interface for internal consistency.
- Streamlined error handling by removing deprecated constants and consolidating token logic.
- Enhanced maintainability by removing unused methods in token services.
This commit is contained in:
barsa 2026-03-04 10:17:32 +09:00
parent 239de6f20a
commit 953878e6c6

View File

@ -0,0 +1,2 @@
export const ACCESS_TOKEN_EXPIRY = "15m";
export const REFRESH_TOKEN_EXPIRY = "7d";