FidoCallback

public class FidoCallback : AbstractCallback, JourneyAware, ContinueNodeAware, @unchecked Sendable

Abstract base class for FIDO callbacks in PingOne Journey workflows.

This class provides common functionality for handling FIDO operations within Journey workflows, including error handling and value setting. It manages the interaction between FIDO operations and the Journey framework.

  • The Journey ContinueNode that this callback is associated with.

    Declaration

    Swift

    public var continueNode: ContinueNode?
  • The Journey instance that this callback is associated with.

    Declaration

    Swift

    public var journey: Journey?
  • Logger instance for this callback, obtained from the workflow configuration.

    Declaration

    Swift

    public var logger: Logger? { get }
  • This method is an override from AbstractCallback and is not used in this context.

    Declaration

    Swift

    public override func initValue(name: String, value: Any)
  • Sets a value to the HiddenValueCallback associated with the WebAuthn outcome.

    Declaration

    Swift

    public func valueCallback(value: String)

    Parameters

    value

    The value to set for the WebAuthn outcome.

  • Handles errors that occur during FIDO operations.

    This method converts ASAuthorizationError codes into error messages that the Journey server can process.

    Declaration

    Swift

    public func handleError(error: Error)

    Parameters

    error

    The error to handle and convert.