AuthenticationChallengeDelegate
public protocol AuthenticationChallengeDelegate
Delegate which handles authentication challanges of the Unblu webView.
-
Called whenever there is an authentication challange inside the WebView
Declaration
Swift
func webView(didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
Parameters
challenge
The authentication challenge.
completionHandler
The completion handler you must invoke to respond to the challenge.
-
Called whenever there is an authentication challange for a file download
Declaration
Swift
func fileDownload(didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
Parameters
challenge
The authentication challenge.
completionHandler
The completion handler you must invoke to respond to the challenge.