From 560380ec5a90bd0ece0ed7d9fec2bbc2a9f56ccd Mon Sep 17 00:00:00 2001 From: hooni Date: Mon, 8 Jul 2024 20:54:46 +0900 Subject: [PATCH 1/3] =?UTF-8?q?feat/#134=20-=20Auth=EB=84=A4=ED=8A=B8?= =?UTF-8?q?=EC=9B=8C=ED=81=AC=20Request,=20Response=20Model=20=EA=B5=AC?= =?UTF-8?q?=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 응답, 요청 값 작성완료 --- .../DTO/Model/Auth/ResissueResponseModel.swift | 13 +++++++++++++ ...AuthTemp.swift => SocialLoginRequestModel.swift} | 4 ++++ .../DTO/Model/Auth/SocialLoginResponceModle.swift | 13 +++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift rename KkuMulKum/Network/DTO/Model/Auth/{AuthTemp.swift => SocialLoginRequestModel.swift} (57%) create mode 100644 KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift diff --git a/KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift b/KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift new file mode 100644 index 00000000..d6fd91cb --- /dev/null +++ b/KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift @@ -0,0 +1,13 @@ +// +// ResissueResponseModel.swift +// KkuMulKum +// +// Created by 이지훈 on 7/8/24. +// + +import Foundation + +// MARK: - ResissueResponseModel +struct ResissueResponseModel: Codable { + let accessToken, refreshToken: String? +} diff --git a/KkuMulKum/Network/DTO/Model/Auth/AuthTemp.swift b/KkuMulKum/Network/DTO/Model/Auth/SocialLoginRequestModel.swift similarity index 57% rename from KkuMulKum/Network/DTO/Model/Auth/AuthTemp.swift rename to KkuMulKum/Network/DTO/Model/Auth/SocialLoginRequestModel.swift index 2abb090b..aeab7b00 100644 --- a/KkuMulKum/Network/DTO/Model/Auth/AuthTemp.swift +++ b/KkuMulKum/Network/DTO/Model/Auth/SocialLoginRequestModel.swift @@ -6,3 +6,7 @@ // import Foundation + +struct SocialLoginRequestModel: Codable { + let provider: String? +} diff --git a/KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift b/KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift new file mode 100644 index 00000000..618e5d0a --- /dev/null +++ b/KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift @@ -0,0 +1,13 @@ +// +// SocialLoginResponceModle.swift +// KkuMulKum +// +// Created by 이지훈 on 7/8/24. +// + +import Foundation + +// MARK: - SocialLoginRequestModel +struct SocialLoginResponseModel: Codable { + let name, accessToken, refreshToken: String? +} From cf1474cc128e71835294186f1d3e3609e03a5563 Mon Sep 17 00:00:00 2001 From: hooni Date: Mon, 8 Jul 2024 21:00:51 +0900 Subject: [PATCH 2/3] =?UTF-8?q?fix/#134-=20=EC=BD=94=EB=93=9C=EB=A6=AC?= =?UTF-8?q?=EB=B7=B0=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift | 5 +++-- .../Network/DTO/Model/Auth/SocialLoginRequestModel.swift | 3 +++ .../Network/DTO/Model/Auth/SocialLoginResponceModle.swift | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift b/KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift index d6fd91cb..e0c3350b 100644 --- a/KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift +++ b/KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift @@ -7,7 +7,8 @@ import Foundation -// MARK: - ResissueResponseModel -struct ResissueResponseModel: Codable { + +// MARK: - ReissueResponseModel +struct ReissueResponseModel: Codable { let accessToken, refreshToken: String? } diff --git a/KkuMulKum/Network/DTO/Model/Auth/SocialLoginRequestModel.swift b/KkuMulKum/Network/DTO/Model/Auth/SocialLoginRequestModel.swift index aeab7b00..bb8f2459 100644 --- a/KkuMulKum/Network/DTO/Model/Auth/SocialLoginRequestModel.swift +++ b/KkuMulKum/Network/DTO/Model/Auth/SocialLoginRequestModel.swift @@ -7,6 +7,9 @@ import Foundation + +// MARK: - SocialLoginRequestModel + struct SocialLoginRequestModel: Codable { let provider: String? } diff --git a/KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift b/KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift index 618e5d0a..2bbbb31f 100644 --- a/KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift +++ b/KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift @@ -7,7 +7,9 @@ import Foundation + // MARK: - SocialLoginRequestModel + struct SocialLoginResponseModel: Codable { let name, accessToken, refreshToken: String? } From f437062f30240cc046b04b13374892ccb2e261f2 Mon Sep 17 00:00:00 2001 From: hooni Date: Mon, 8 Jul 2024 21:30:29 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix/#134=20=EC=BD=94=EB=93=9C=EB=A6=AC?= =?UTF-8?q?=EB=B7=B0=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift | 1 + KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift b/KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift index e0c3350b..820dbc93 100644 --- a/KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift +++ b/KkuMulKum/Network/DTO/Model/Auth/ResissueResponseModel.swift @@ -9,6 +9,7 @@ import Foundation // MARK: - ReissueResponseModel + struct ReissueResponseModel: Codable { let accessToken, refreshToken: String? } diff --git a/KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift b/KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift index 2bbbb31f..1ba1c8cb 100644 --- a/KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift +++ b/KkuMulKum/Network/DTO/Model/Auth/SocialLoginResponceModle.swift @@ -8,7 +8,7 @@ import Foundation -// MARK: - SocialLoginRequestModel +// MARK: - SocialLoginResponseModel struct SocialLoginResponseModel: Codable { let name, accessToken, refreshToken: String?