init
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:
"REGISTER" creates a FidoRegistrationCollector
"AUTHENTICATE" creates a FidoAuthenticationCollector
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