feat: API 인증 시스템 구현 및 로그인 화면 연동

- AuthService, AuthRemoteDataSource 구현
- JWT 토큰 관리 (SecureStorage 사용)
- 로그인 화면 API 연동 및 에러 처리
- freezed 패키지로 Auth 관련 DTO 모델 생성
- 의존성 주입 설정 업데이트
This commit is contained in:
JiWoong Sul
2025-07-24 15:14:53 +09:00
parent 2b31d3af5f
commit c573096d84
26 changed files with 2063 additions and 59 deletions

View File

@@ -0,0 +1,23 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'token_response.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
_$TokenResponseImpl _$$TokenResponseImplFromJson(Map<String, dynamic> json) =>
_$TokenResponseImpl(
accessToken: json['access_token'] as String,
refreshToken: json['refresh_token'] as String,
tokenType: json['token_type'] as String,
expiresIn: (json['expires_in'] as num).toInt(),
);
Map<String, dynamic> _$$TokenResponseImplToJson(_$TokenResponseImpl instance) =>
<String, dynamic>{
'access_token': instance.accessToken,
'refresh_token': instance.refreshToken,
'token_type': instance.tokenType,
'expires_in': instance.expiresIn,
};