Query

@Serializable
data class Query(val queryID: String, val multiple: Boolean = false, val credentials: List<CredentialSummary> = emptyList(), val unregistered: List<List<PathElement>> = emptyList(), val unregisteredAll: Boolean = false)(source)

One of the request's credential queries, with the credentials that can answer it: none when nothing held can.

Constructors

Link copied to clipboard
constructor(queryID: String, multiple: Boolean = false, credentials: List<CredentialSummary> = emptyList(), unregistered: List<List<PathElement>> = emptyList(), unregisteredAll: Boolean = false)

Properties

Link copied to clipboard

The held credentials that can answer it.

Link copied to clipboard

Whether it takes more than one credential; otherwise a selection gives it exactly one.

Link copied to clipboard
@SerialName(value = "query_id")
val queryID: String

The query's ID: a key in a Selection.

Link copied to clipboard

For a Verifier with a verified registration: the claims paths this query asks for beyond it, and whether it asks for every claim. Nothing is refused for them: the holder decides.

Link copied to clipboard
@SerialName(value = "unregistered_all")
val unregisteredAll: Boolean

Whether it asks for every claim, beyond a verified registration.