ThreedsWebViewControllerDelegate
public protocol ThreedsWebViewControllerDelegate : AnyObject
Methods to handle the response in the 3ds web view
-
onSuccess3D()Default implementationCalled if the response is successful
Default Implementation
Declaration
Swift
@available(*, deprecated, renamed: "threeDSWebViewControllerAuthenticationDidSucceed(_:token:﹚") func onSuccess3D() -
onFailure3D()Default implementationCalled if the response is unsuccesful
Default Implementation
Declaration
Swift
@available(*, deprecated, renamed: "threeDSWebViewControllerAuthenticationDidFail(_:﹚") func onFailure3D() -
threeDSWebViewControllerAuthenticationDidSucceed(_:Default implementationtoken: ) Called upon successful 3D Secure authentication.
Default Implementation
Declaration
Swift
func threeDSWebViewControllerAuthenticationDidSucceed(_ threeDSWebViewController: ThreedsWebViewController, token: String?)Parameters
threeDSWebViewControllerThe
ThreedsWebViewControllerinstance calling this method.tokenThe token extracted from the success URL.
-
threeDSWebViewControllerAuthenticationDidFail(_:Default implementation) Called upon unsuccessful 3D Secure authentication.
Default Implementation
Declaration
Swift
func threeDSWebViewControllerAuthenticationDidFail(_ threeDSWebViewController: ThreedsWebViewController)Parameters
threeDSWebViewControllerThe
ThreedsWebViewControllerinstance calling this method.
View on GitHub
ThreedsWebViewControllerDelegate