web: migrate health notifications to js_interop; add browser hook
- Replace dart:js with package:js in health_check_service_web.dart\n- Implement showHealthCheckNotification in web/index.html\n- Pin js dependency to ^0.6.7 for flutter_secure_storage_web compatibility auth: harden AuthInterceptor + tests - Allow overrideAuthRepository injection for testing\n- Normalize imports to package: paths\n- Add unit test covering token attach, 401→refresh→retry, and failure path\n- Add integration test skeleton gated by env vars ui/data: map User.companyName to list column - Add companyName to domain User\n- Map UserDto.company?.name\n- Render companyName in user_list cleanup: remove legacy equipment table + unused code; minor warnings - Remove _buildFlexibleTable and unused helpers\n- Remove unused zipcode details and cache retry constant\n- Fix null-aware and non-null assertions\n- Address child-last warnings in administrator dialog docs: update AGENTS.md session context
This commit is contained in:
@@ -48,4 +48,15 @@ abstract class AuthRepository {
|
||||
/// 현재 저장된 토큰이 유효한지 서버에서 검증
|
||||
/// Returns: 세션 유효성 여부
|
||||
Future<Either<Failure, bool>> validateSession();
|
||||
|
||||
/// 로컬 저장소에 보관된 리프레시 토큰 조회
|
||||
/// Returns: 저장된 리프레시 토큰(없으면 null)
|
||||
Future<Either<Failure, String?>> getStoredRefreshToken();
|
||||
|
||||
/// 로컬 저장소에 보관된 액세스 토큰 조회
|
||||
/// Returns: 저장된 액세스 토큰(없으면 null)
|
||||
Future<Either<Failure, String?>> getStoredAccessToken();
|
||||
|
||||
/// 로컬 세션 정리(토큰/사용자 정보 삭제)
|
||||
Future<Either<Failure, void>> clearLocalSession();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user