init

open override fun init(input: JsonObject): Collector<JsonObject>

Initializes this collector from the server-provided JSON object.

Reads the key field (used as the collector's id) and the pairingKey field (passed to PingOneMFA.pair during collect). The pairingKey field is required: missing, empty, or JSON-null values throw IllegalArgumentException.

Return

This collector instance.

Parameters

input

The JSON object for this collector entry from the DaVinci node response.

Throws

If pairingKey is absent, empty, or JSON null.