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 (VC in JWT)

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 mDoc credential)

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

Successfully decoded and validated the response from the Wallet (SD-JWT VC)

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