Hi,

I would appreciate if someone could answer a question about:
*-[WKNavigationDelegate
webView:didReceiveAuthenticationChallenge:completionHandler:]*

According to method's documentation in WKNavigationDelegate.h:

*"If you do not implement this method, the web view will respond to the
authentication challenge with the
NSURLSessionAuthChallengeRejectProtectionSpace disposition.". *

But according to
NSURLSessionAuthChallengeDisposition.NSURLSessionAuthChallengePerformDefaultHandling
documentation in NSURLSession.h:

"Default handling for the challenge - as if this delegate were not
implemented; the credential parameter is ignored."

So my question is: are these 2 enum values
(NSURLSessionAuthChallengePerformDefaultHandling
and NSURLSessionAuthChallengeRejectProtectionSpace) identical for the
purpose of implementing didReceiveAuthenticationChallenge:?

If I want to implement didReceiveAuthenticationChallenge: and perform its
default behavior (as this method was not implemented) which enum value
should I use?

Thanks in advance,
Eugene
_______________________________________________
webkit-help mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-help

Reply via email to