From ba07acfbe0849325b056dfbcdbee2a7f2e964eb1 Mon Sep 17 00:00:00 2001 From: John Melati Date: Tue, 8 Oct 2024 16:13:45 +0200 Subject: [PATCH] fix: remove constraints temporarily --- .../oid/fed/common/builder/SubordinateStatementBuilder.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/openid-federation-common/src/commonMain/kotlin/com/sphereon/oid/fed/common/builder/SubordinateStatementBuilder.kt b/modules/openid-federation-common/src/commonMain/kotlin/com/sphereon/oid/fed/common/builder/SubordinateStatementBuilder.kt index bda93195..cea9e93c 100644 --- a/modules/openid-federation-common/src/commonMain/kotlin/com/sphereon/oid/fed/common/builder/SubordinateStatementBuilder.kt +++ b/modules/openid-federation-common/src/commonMain/kotlin/com/sphereon/oid/fed/common/builder/SubordinateStatementBuilder.kt @@ -1,7 +1,6 @@ package com.sphereon.oid.fed.common.builder import com.sphereon.oid.fed.openapi.models.BaseEntityStatementJwks -import com.sphereon.oid.fed.openapi.models.Constraints import com.sphereon.oid.fed.openapi.models.Jwk import com.sphereon.oid.fed.openapi.models.SubordinateStatement import kotlinx.serialization.ExperimentalSerializationApi @@ -16,7 +15,6 @@ class SubordinateStatementBuilder { private var metadata: MutableMap = mutableMapOf() private var metadata_policy: MutableMap = mutableMapOf() private var metadata_policy_crit: MutableMap = mutableMapOf() - private lateinit var constraints: Constraints private val crit: MutableList = mutableListOf() private var source_endpoint: String? = null @@ -43,10 +41,6 @@ class SubordinateStatementBuilder { this.crit.add(claim) } - fun constraints(constraints: Constraints) = apply { - this.constraints = constraints - } - fun sourceEndpoint(sourceEndpoint: String) = apply { this.source_endpoint = sourceEndpoint }