See Also: NSUrlCredential Members
Authentication credentials can be created either with a username/password pair, a security identity and its certificates or based on a server trust authentication (currently, requires a handle to the low-level SecTrustRef native handle).
NSUrlCredential objects are typically created in the NSUrlConnectionDelegate.ReceivedAuthenticationChallenge method and passed to the NSUrlConnection.UseCredentials method.