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:
parent
239de6f20a
commit
953878e6c6
2
apps/bff/src/modules/auth/infra/token/token.constants.ts
Normal file
2
apps/bff/src/modules/auth/infra/token/token.constants.ts
Normal file
@ -0,0 +1,2 @@
|
||||
export const ACCESS_TOKEN_EXPIRY = "15m";
|
||||
export const REFRESH_TOKEN_EXPIRY = "7d";
|
||||
Loading…
x
Reference in New Issue
Block a user