ThreeDSWKNavigationHelper
public final class ThreeDSWKNavigationHelper : NSObject, ThreeDSWKNavigationHelping
extension ThreeDSWKNavigationHelper: WKNavigationDelegate
This class helps handle the 3DS challenge for a user using a webview.
-
Declaration
Swift
weak public var delegate: ThreeDSWKNavigationHelperDelegate?
-
Declaration
Swift
public convenience init(successURL: URL?, failureURL: URL?)
-
Initialise the 3DS redirect URL from the challenge, either for a success or failure.
Declaration
Swift
public func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void)
-
Declaration
Swift
public func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!)
-
Declaration
Swift
public func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error)