CFHTTPAuthenticationAppliesToRequest(_:_:)
Returns a Boolean value that indicates whether a CFHTTPAuthentication object is associated with a CFHTTPMessage object.
Declaration
func CFHTTPAuthenticationAppliesToRequest(_ auth: CFHTTPAuthentication, _ request: CFHTTPMessage) -> BoolParameters
- auth:
The CFHTTPAuthentication object to examine.
- request:
Request that
authis to be tested against.
Return Value
TRUE if auth is associated with request, otherwise FALSE.
Discussion
If this function returns TRUE, you can use auth to provide authentication information when using request.
See Also
HTTP Authentication
CFHTTPAuthenticationCFHTTPAuthenticationCopyDomains(_:)CFHTTPAuthenticationCopyMethod(_:)CFHTTPAuthenticationCopyRealm(_:)CFHTTPAuthenticationCreateFromResponse(_:_:)CFHTTPAuthenticationGetTypeID()CFHTTPAuthenticationIsValid(_:_:)CFHTTPAuthenticationRequiresAccountDomain(_:)CFHTTPAuthenticationRequiresOrderedRequests(_:)CFHTTPAuthenticationRequiresUserNameAndPassword(_:)kCFHTTPAuthenticationAccountDomainkCFHTTPAuthenticationPasswordkCFHTTPAuthenticationSchemeBasickCFHTTPAuthenticationSchemeDigestkCFHTTPAuthenticationSchemeKerberos