From e23f23f89949148f0f5ff686cb68e9dbe94e5dc3 Mon Sep 17 00:00:00 2001
From: mybloom <baejungeun11@gmail.com>
Date: Wed, 8 Jun 2022 07:03:47 +0900
Subject: [PATCH] =?UTF-8?q?feat:=20Repository=EB=A5=BC=20=ED=86=B5?=
 =?UTF-8?q?=ED=95=B4=20=ED=8A=B9=EC=A0=95=20=EB=B2=A4=EB=8D=94=EC=9D=98=20?=
 =?UTF-8?q?Provider=20=EA=B0=9D=EC=B2=B4=EB=A5=BC=20=EA=B0=80=EC=A0=B8?=
 =?UTF-8?q?=EC=98=AC=20=EC=88=98=20=EC=9E=88=EB=8F=84=EB=A1=9D=20findByPro?=
 =?UTF-8?q?viderName()=20=EB=A9=94=EC=84=9C=EB=93=9C=20=EC=83=9D=EC=84=B1?=
 =?UTF-8?q?=20(ios-h/airbnb#35)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../auth/config/MemoryProviderRepository.java     | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 BE/src/main/java/org/team4/airbnb/auth/config/MemoryProviderRepository.java

diff --git a/BE/src/main/java/org/team4/airbnb/auth/config/MemoryProviderRepository.java b/BE/src/main/java/org/team4/airbnb/auth/config/MemoryProviderRepository.java
new file mode 100644
index 000000000..68c4ed0be
--- /dev/null
+++ b/BE/src/main/java/org/team4/airbnb/auth/config/MemoryProviderRepository.java
@@ -0,0 +1,15 @@
+package org.team4.airbnb.auth.config;
+
+import java.util.Map;
+import lombok.RequiredArgsConstructor;
+
+@RequiredArgsConstructor
+public class MemoryProviderRepository {
+
+	private final Map<String, OauthProvider> providers;
+
+	public OauthProvider findByProviderName(String name) {
+		OauthProvider oauthProvider = providers.get(name);
+		return oauthProvider;
+	}
+}