Sent to determine whether the URL loader should use the credential storage for authenticating the connection.
- iOS 3.0+
- macOS 10.6+
- tvOS 9.0+
- watchOS 2.0+
The connection sending the message.
This method is called before any attempt to authenticate is made.
If you return
false, the connection does not consult the credential storage automatically, and does not store credentials. However, in your connection:didReceiveAuthenticationChallenge: method, you can consult the credential storage yourself and store credentials yourself, as needed.
Not implementing this method is the same as returning