validateAuthnResponse

suspend fun validateAuthnResponse(input: String): KmmResult<AuthnResponseResult>(source)

Validates an Authentication Response from the Wallet, where input is either:

  • a URL, containing parameters in the fragment, e.g. https://example.com#id_token=...

  • a URL, containing parameters in the query, e.g. https://example.com?id_token=...

  • parameters encoded as a POST body, e.g. id_token=...&vp_token=...


Validates an Authentication Response from the Wallet, in case it has been parsed into ResponseParametersFrom with ResponseParser.