Skip to content

Commit

Permalink
fix: remove constraints temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmelati committed Oct 8, 2024
1 parent f5a9260 commit ba07acf
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -16,7 +15,6 @@ class SubordinateStatementBuilder {
private var metadata: MutableMap<String, JsonObject> = mutableMapOf()
private var metadata_policy: MutableMap<String, JsonObject> = mutableMapOf()
private var metadata_policy_crit: MutableMap<String, JsonObject> = mutableMapOf()
private lateinit var constraints: Constraints
private val crit: MutableList<String> = mutableListOf()
private var source_endpoint: String? = null

Expand All @@ -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
}
Expand Down

0 comments on commit ba07acf

Please sign in to comment.