Success

data class Success(val vpTokenResult: KmmResult<VpTokenValidationResult>, val request: AuthenticationRequestParameters, val validationReport: ValidationReport, val presentationValidations: Map<DCQLCredentialQueryIdentifier, List<PresentationValidationResult>> = emptyMap()) : AuthnResponseResult(source)

The wallet presented: validationReport tells whether the response is accepted under the policy of the verifier, with every check of every presentation, and presentationValidations holds the validated presentations.

Constructors

Link copied to clipboard
constructor(vpTokenResult: KmmResult<VpTokenValidationResult>, request: AuthenticationRequestParameters, validationReport: ValidationReport, presentationValidations: Map<DCQLCredentialQueryIdentifier, List<PresentationValidationResult>> = emptyMap())

Properties

Link copied to clipboard

The presentations by the credential query they answer, validated with a at.asitplus.wallet.lib.validation.CredentialValidator: an mdoc DeviceResponse yields one per document. Their reports are the children of validationReport. Empty if the vp_token could not be parsed.

Link copied to clipboard

The request this response answers, consumed by processing the response.

Link copied to clipboard
open val state: String?

The state of request, to find the transaction of the integrator.

Link copied to clipboard
Link copied to clipboard