From 870b519a2baebf4298431a477ad107e95af94770 Mon Sep 17 00:00:00 2001 From: Ji-Ha Date: Sun, 26 Jun 2022 11:41:35 +0900 Subject: [PATCH] =?UTF-8?q?[#132]=20chore=20-JWT=20->=20accessToken?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/com/yapp/web2/config/SwaggerConfig.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/yapp/web2/config/SwaggerConfig.kt b/src/main/kotlin/com/yapp/web2/config/SwaggerConfig.kt index 11631117..24b187da 100644 --- a/src/main/kotlin/com/yapp/web2/config/SwaggerConfig.kt +++ b/src/main/kotlin/com/yapp/web2/config/SwaggerConfig.kt @@ -54,11 +54,11 @@ class SwaggerConfig { val authorizationScope = AuthorizationScope("global", "accessEverything") val authorizationScopes = arrayOfNulls(1) authorizationScopes[0] = authorizationScope - return listOf(SecurityReference("JWT", authorizationScopes)) + return listOf(SecurityReference("accessToken", authorizationScopes)) } fun apiKey(): ApiKey { - return ApiKey("JWT", "AccessToken", "header") + return ApiKey("accessToken", "accessToken", "header") } private fun metaInfo(): ApiInfo {