Skip to content

Commit

Permalink
[#132] chore
Browse files Browse the repository at this point in the history
-JWT -> accessToken으로 변경
  • Loading branch information
Ji-Ha committed Jun 26, 2022
1 parent 8c8d5e2 commit 870b519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/com/yapp/web2/config/SwaggerConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ class SwaggerConfig {
val authorizationScope = AuthorizationScope("global", "accessEverything")
val authorizationScopes = arrayOfNulls<AuthorizationScope>(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 {
Expand Down

0 comments on commit 870b519

Please sign in to comment.