init

protected open override fun init(name: String, value: JsonElement)

Initializes the callback with data from the Journey workflow.

Parses the incoming JSON data and transforms it into WebAuthn-compatible format. Also detects server capabilities like JSON response support.

Parameters

name

The field name, expected to be "data"

value

The JSON object containing FIDO2 authentication parameters

Throws

if name is not "data" or value is not a JsonObject