Attempt to use a given credential for a given authentication challenge.
- iOS 2.0+
- macOS 10.2+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The credential to use for authentication.
The challenge for which to use
This method has no effect if it is called with an authentication challenge that has already been handled.