Use a dictionary containing authentication credentials to perform the authentication method specified by a
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
The request for which the authentication method is to be performed.
CFHTTPAuthenticationobject specifying the authentication method to perform.
A dictionary containing authentication credentials to be applied to the request. For information on the keys in this dictionary, see
If an error occurs, upon return contains a
CFStreamobject that describes the error and the error’s domain. Pass
NULLif you don’t want to receive error information.
TRUE if the authentication was successful, otherwise,
This function performs the authentication method specified by
auth on behalf of the request specified by
request using the credentials contained in the dictionary specified by
dict. The dictionary must contain values for the
k keys. If
auth, the dictionary must also contain a value for the
This function is thread safe as long as another thread does not alter the same
CFHTTPAuthentication object at the same time.