init

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

Initializes and returns the appropriate FIDO2 collector based on the action type.

This method examines the "action" field in the input JSON and creates the corresponding collector:

Return

The appropriate FIDO2 collector instance for the specified action

Parameters

input

The JSON object containing the action and other initialization parameters

Throws

if the action field is missing or not supported