PROTOCOL

WebAuthnOperationModel

public protocol WebAuthnOperationModel: UIOperationModel where InteractionModelType == FormModel,
                                                               ErrorInteractionModelType == UIInteractionModel

An operation that contains an interactionModel, an optional errorInteractionModel and a problem. An actionModel provides the necessary configuration that needs to be used with the device's WebAuthn functionality.

Properties

actionModel

var actionModel: any RepresentationActionModel

An action model that needs to be handled on the application.

otherActions

var otherActions: [any UIInteractionModel]

A list of UIInteractionModel that represent alternative actions that can be presented to the user.

buildParametersWrapper

var buildParametersWrapper: (WebAuthnOperationParametersModel) -> [String: Any]

closure handler that wraps the step build parameters method call without the need to store the step object itself. Not intended to be used directly.