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
ContinueNodethat this callback is associated with.Declaration
Swift
public var continueNode: ContinueNode? -
The
Journeyinstance 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
AbstractCallbackand is not used in this context.Declaration
Swift
public override func initValue(name: String, value: Any) -
Sets a value to the
HiddenValueCallbackassociated with the WebAuthn outcome.Declaration
Swift
public func valueCallback(value: String)Parameters
valueThe value to set for the WebAuthn outcome.
-
Handles errors that occur during FIDO operations.
This method converts
ASAuthorizationErrorcodes into error messages that the Journey server can process.Declaration
Swift
public func handleError(error: Error)Parameters
errorThe error to handle and convert.
View on GitHub