AuthnResponseResult
Result of validating an OpenID authentication response, covering success and error cases. Use to inspect how a wallet response was parsed and whether presentation validation succeeded.
Inheritors
Types
Link copied to clipboard
Wallet provided an id_token, no vp_token (as requested by us!)
Link copied to clipboard
data class Success(val vp: VerifiablePresentationParsed, val state: String? = null) : AuthnResponseResult
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? = null) : 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? = null, 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? = null, val cause: Throwable) : AuthnResponseResult
Error when validating the vpToken or idToken
Link copied to clipboard
data class VerifiableDCQLPresentationValidationResults(val validationResults: Map<DCQLCredentialQueryIdentifier, AuthnResponseResult>, val allValidationResults: Map<DCQLCredentialQueryIdentifier, List<AuthnResponseResult>>) : AuthnResponseResult
Validation results of all returned verifiable presentations
Link copied to clipboard
data class VerifiablePresentationValidationResults(val validationResults: List<AuthnResponseResult>) : AuthnResponseResult
Validation results of all returned verifiable presentations