performAssertion

open suspend override fun performAssertion(challengeData: String): Result<WebAuthnAssertionResponse>

Performs a WebAuthn assertion using the platform's native API.

Return

A Result containing the WebAuthnAssertionResponse on success, or an exception on failure (e.g., user cancellation, no matching credential).

Parameters

challengeData

The raw JSON challenge data from the Okta server, to be passed directly to the platform's WebAuthn API.