prepareDcApiRequest
suspend fun prepareDcApiRequest(request: RequestParametersFrom.DcApiRequest): KmmResult<DcApiPreparationState>(source)
Prepares either an OpenID4VP or Annex C request received through the Digital Credentials API.
suspend fun prepareDcApiRequest(request: RequestParametersFrom.DcApiRequest, policy: ValidationPolicy): KmmResult<DcApiRequestValidation>(source)
Prepares either an OpenID4VP or Annex C request received through the Digital Credentials API under policy, returning its report next to the state, see DcApiHolder.startAuthorizationResponsePreparation: null only for an Annex C request without registration certificates. A rejected request is a successful result.