mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-21 12:14:28 +00:00
- Add setAuthToken, getAuthToken, clearAuthToken functions with localStorage persistence - Add Authorization Bearer token header to all API requests in apiFetch - Add 401 status handling with automatic token clearing and redirect to /login - Add auth API methods (login, register, refresh, logout, profile, changePassword) - Add authentication types (LoginRequest, RegisterRequest, AuthResponse, User, ChangePassword