From f0f104ef062a7c7df4ca8aa2a3c541e5c86364b5 Mon Sep 17 00:00:00 2001 From: Trong Huu Nguyen Date: Sat, 2 Nov 2024 12:41:34 +0100 Subject: [PATCH] fix(idporten): remove unused texas config --- .../src/main/kotlin/io/nais/Configuration.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/wonderwalled-idporten/src/main/kotlin/io/nais/Configuration.kt b/wonderwalled-idporten/src/main/kotlin/io/nais/Configuration.kt index 95b3daa..022367b 100644 --- a/wonderwalled-idporten/src/main/kotlin/io/nais/Configuration.kt +++ b/wonderwalled-idporten/src/main/kotlin/io/nais/Configuration.kt @@ -19,7 +19,6 @@ data class Configuration( val port: Int = config.getOrElse(Key("application.port", intType), 8080), val idporten: IdPorten = IdPorten(), val tokenx: TokenX = TokenX(), - val texas: Texas = Texas(), // optional, generally only needed when running locally val ingress: String = config.getOrElse( @@ -34,11 +33,6 @@ data class Configuration( defaultHttpClient().getOpenIdConfiguration(wellKnownConfigurationUrl), ) - data class Texas( - val texasTokenEndpoint: String = config[Key("texas.token.endpoint", stringType)], - val texasIntrospectionEndpoint: String = config[Key("texas.introspection.endpoint", stringType)], - ) - data class TokenX( val clientId: String = config[Key("token.x.client.id", stringType)], val privateJwk: String = config[Key("token.x.private.jwk", stringType)],