Types

Link copied to clipboard
data class Error(val reason: String, val state: String?, val cause: Throwable? = null) : AuthnResponseResult

Error in parsing the URL or content itself, before verifying the contents of the OpenId response

Link copied to clipboard
data class IdToken(val idToken: IdToken, val state: String?) : AuthnResponseResult

Wallet provided an id_token, no vp_token (as requested by us!)

Link copied to clipboard

Successfully decoded and validated the response from the Wallet (W3C credential)

Link copied to clipboard
data class SuccessIso(val documents: Collection<IsoDocumentParsed>, val state: String?) : AuthnResponseResult

Successfully decoded and validated the response from the Wallet (ISO credential)

Link copied to clipboard
data class SuccessSdJwt(    val sdJwtSigned: SdJwtSigned,     val verifiableCredentialSdJwt: VerifiableCredentialSdJwt,     val reconstructed: JsonObject,     val disclosures: Collection<SelectiveDisclosureItem>,     val state: String?) : AuthnResponseResult

Successfully decoded and validated the response from the Wallet (W3C credential in SD-JWT)

Link copied to clipboard
data class ValidationError(val field: String, val state: String?, val cause: Throwable? = null) : AuthnResponseResult

Error when validating the vpToken or idToken

Validation results of all returned verifiable presentations

Link copied to clipboard

Validation results of all returned verifiable presentations