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
threeDSWebViewController
The
ThreedsWebViewController
instance calling this method.token
The token extracted from the success URL.
-
threeDSWebViewControllerAuthenticationDidFail(_:
Default implementation) Called upon unsuccessful 3D Secure authentication.
Default Implementation
Declaration
Swift
func threeDSWebViewControllerAuthenticationDidFail(_ threeDSWebViewController: ThreedsWebViewController)
Parameters
threeDSWebViewController
The
ThreedsWebViewController
instance calling this method.