AbstractFidoCollector

An abstract base class for FIDO2 collectors in the DaVinci workflow.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val actionKey: String?

Supplies the DOMException name as actionKey when a FIDO error has occurred.

Link copied to clipboard
open lateinit override var davinci: DaVinci
Link copied to clipboard

DOMException name set when a FIDO operation fails; drives the DaVinci error response.

Link copied to clipboard
var key: String

The unique identifier for the collector

Link copied to clipboard

The display label for the collector

Link copied to clipboard
Link copied to clipboard

Whether the collector is mandatory for the workflow

Link copied to clipboard

The trigger event that activates this collector

Functions

Link copied to clipboard
open override fun eventType(): String
Link copied to clipboard
fun handleError(exception: Throwable)

Handles errors during FIDO2 operations, setting errorCode to the appropriate WebAuthn DOMException name.

Link copied to clipboard
open override fun id(): String
Link copied to clipboard
open override fun init(input: JsonObject): Collector<JsonObject>
Link copied to clipboard
open override fun payload(): JsonObject?

Returns an empty JsonObject when a FIDO error has occurred — non-null sentinel so Collectors.eventType picks up this collector and the actionKey error path fires. Subclasses override to provide the success payload.