validateAuthnResponse

suspend fun validateAuthnResponse(input: String, externalId: String, expectedOrigin: String? = null): KmmResult<DcApiResponseResult>(source)
suspend fun validateAuthnResponse(input: DigitalCredentialInterface, externalId: String, expectedOrigin: String? = null): KmmResult<DcApiResponseResult>(source)

Validates an Authentication Response from the Wallet, where input is a signed or unsigned DC API response.

The externalId will be used to load the corresponding AuthenticationRequestParameters from the store.