ThreeDSecureProcessHandlerType
public protocol ThreeDSecureProcessHandlerType
Handler for 3DSecure process.
-
Start 3DSecure process Delegate will be released once the process is finished.
Declaration
Swift
@available(*, deprecated, message: "Use startThreeDSecureProcess(viewController:delegate:resourceId:﹚ instead.") func startThreeDSecureProcess(viewController: UIViewController, delegate: ThreeDSecureProcessHandlerDelegate, token: Token)
Parameters
viewController
the viewController which will present SFSafariViewController.
delegate
ThreeDSecureProcessHandlerDelegate
token
Token
-
Start 3DSecure process with resourceID Delegate will be released once the process is finished.
Declaration
Swift
func startThreeDSecureProcess(viewController: UIViewController, delegate: ThreeDSecureProcessHandlerDelegate, resourceId: String)
Parameters
viewController
the viewController which will present SFSafariViewController.
delegate
ThreeDSecureProcessHandlerDelegate
resourceId
ID of the resource(card, charge, token, etc.)
-
Complete 3DSecure process.
Declaration
Swift
func completeThreeDSecureProcess(url: URL) -> Bool
Parameters
url
redirect URL