In URLSession:task:didReceiveChallenge:completionHandler:
, is there a difference between using .proposedCredential
vs URLCredential(trust:)
of the server trust object in the challenge protection space?
This is to pass back as the second parameter in the completion handler of the delegate method, along with .useCredentials
.
Answer received here: https://forums.developer.apple.com/message/361609