BindingModule
public class BindingModule : NSObject
A module for handling device binding and signing callbacks.
The callbacks are automatically registered when Journey.createJourney() is called.
Manual registration using BindingModule.register() is optional and only needed if you’re not using the Journey framework.
-
Initializes a new
BindingModule.Declaration
Swift
public override init() -
Registers the device binding and signing callbacks with the
CallbackRegistry.Note: This method is optional when using the Journey framework, as callbacks are automatically registered when
Journey.createJourney()is called. Only call this method if you need to register callbacks manually outside of the Journey flow.Declaration
Swift
@objc public static func registerCallbacks() -
Sets the logger for the BindingModule and migration.
Declaration
Swift
public static func setLogger(_ logger: Logger)Parameters
loggerThe logger to use.
-
getAllKeys()Asynchronous -
deleteKey(_:Asynchronous) -
deleteAllKeys()AsynchronousDeletes all stored binding keys.
Throws
An error if deletion fails.Declaration
Swift
public static func deleteAllKeys() async throws
View on GitHub