Skip to content

Commit

Permalink
Merge pull request #268 from navikt/dependabot/gradle/all-dependencie…
Browse files Browse the repository at this point in the history
…s-3a6c6991a2

Bump the all-dependencies group across 1 directory with 10 updates
  • Loading branch information
flexable777 authored Jan 27, 2025
2 parents bcc7b92 + eb7ef33 commit ae7d1a5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

val logstashVersion = "8.0"
val resilience4jVersion = "2.2.0"
val verapdfVersion = "1.26.1"
val mockkVersion = "1.13.13"
val resilience4jVersion = "2.3.0"
val verapdfVersion = "1.26.5"
val mockkVersion = "1.13.16"
val springMockkVersion = "4.0.2"
val tokenValidationVersion = "5.0.5"
val simpleSlackPosterVersion = "0.2.2"
val tokenValidationVersion = "5.0.14"
val simpleSlackPosterVersion = "1.0.0"
val kodeverkVersion = "1.9.9"

repositories {
Expand All @@ -15,8 +15,8 @@ repositories {
}

plugins {
val kotlinVersion = "2.0.21"
id("org.springframework.boot") version "3.3.5"
val kotlinVersion = "2.1.0"
id("org.springframework.boot") version "3.4.1"
kotlin("jvm") version kotlinVersion
kotlin("plugin.spring") version kotlinVersion
idea
Expand Down
8 changes: 4 additions & 4 deletions src/main/kotlin/no/nav/klage/util/TokenUtil.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@ class TokenUtil(
fun getAppAccessTokenWithDokarkivScope(): String {
val clientProperties = clientConfigurationProperties.registration["dokarkiv-maskintilmaskin"]!!
val response = oAuth2AccessTokenService.getAccessToken(clientProperties)
return response.accessToken!!
return response.access_token!!
}

fun getAppAccessTokenWithKlageFileApiScope(): String {
val clientProperties = clientConfigurationProperties.registration["klage-file-api-maskintilmaskin"]!!
val response = oAuth2AccessTokenService.getAccessToken(clientProperties)
return response.accessToken!!
return response.access_token!!
}

fun getAppAccessTokenWithKlageDittnavApiScope(): String {
val clientProperties = clientConfigurationProperties.registration["klage-dittnav-api-maskintilmaskin"]!!
val response = oAuth2AccessTokenService.getAccessToken(clientProperties)
return response.accessToken!!
return response.access_token!!
}

fun getAppAccessTokenWithPdlScope(): String {
val clientProperties = clientConfigurationProperties.registration["pdl-maskintilmaskin"]!!
val response = oAuth2AccessTokenService.getAccessToken(clientProperties)
return response.accessToken!!
return response.access_token!!
}
}

0 comments on commit ae7d1a5

Please sign in to comment.