validateAuthnResponse
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=...
suspend fun validateAuthnResponse(input: ResponseParametersFrom): KmmResult<AuthnResponseResult>(source)
Validates an Authentication Response from the Wallet, in case it has been parsed into ResponseParametersFrom with ResponseParser.
suspend fun validateAuthnResponse(input: String, externalId: String? = null): KmmResult<AuthnResponseResult>(source)
suspend fun validateAuthnResponse(input: ResponseParametersFrom, externalId: String? = null): KmmResult<AuthnResponseResult>(source)
Deprecated
OpenID4VP doesn't support externalId, the state is always available
suspend fun validateAuthnResponse(input: OpenId4VpResponse, externalId: String): KmmResult<AuthnResponseResult>(source)
Deprecated
Use DCAPI Verifier for that