AuthnDelegate
public protocol AuthnDelegate : AnyObject
Delegate that containing functions for managing authn operations
Since
3.0.0-
This is invoked when user confirmation is required to proceeding with the Transaction data.
Declaration
Swift
func authn(_ authn: D1Authn, shouldConfirmTransactionData transactionData: [String: String], proceedHandler: (@escaping() -> Void), cancelHandler: (@escaping() -> Void))Parameters
authnThe D1Authn object to informing the delegate about the transaction data.
transactionDataThe details of the ongoing transaction.
proceedHandlerclosure to be called to inform SDK to proceed with the transaction.
cancelHandlerclosure to be called to cancel the operation.
-
This is invoked when a user verification is requested via Touch ID.
- Return: The message string to be displayed.
Declaration
Swift
func authnTouchIDOperationPrompt(_ authn: D1Authn) -> StringParameters
authnThe D1Authn object to informing the delegate about the transaction data.
AuthnDelegate Protocol Reference