---
title: "CFHTTPAuthenticationRequiresOrderedRequests(_:)"
framework: cfnetwork
role: symbol
role_heading: Function
path: "cfnetwork/cfhttpauthenticationrequiresorderedrequests(_:)"
---

# CFHTTPAuthenticationRequiresOrderedRequests(_:)

Returns a Boolean value that indicates whether authentication requests should be made one at a time.

## Declaration

```swift
func CFHTTPAuthenticationRequiresOrderedRequests(_ auth: CFHTTPAuthentication) -> Bool
```

## Parameters

- `auth`: The CFHTTPAuthentication object to examine.

## Return Value

Return Value TRUE if auth requires ordered requests, otherwise FALSE.

## Discussion

Discussion Some authentication methods require that future requests must be performed in an ordered manner. If this function returns TRUE, clients can improve their chances of authenticating successfully by issuing requests one at a time as responses come back from the server.

## See Also

### HTTP Authentication

- [CFHTTPAuthentication](cfnetwork/cfhttpauthentication.md)
- [CFHTTPAuthenticationAppliesToRequest(_:_:)](cfnetwork/cfhttpauthenticationappliestorequest(_:_:).md)
- [CFHTTPAuthenticationCopyDomains(_:)](cfnetwork/cfhttpauthenticationcopydomains(_:).md)
- [CFHTTPAuthenticationCopyMethod(_:)](cfnetwork/cfhttpauthenticationcopymethod(_:).md)
- [CFHTTPAuthenticationCopyRealm(_:)](cfnetwork/cfhttpauthenticationcopyrealm(_:).md)
- [CFHTTPAuthenticationCreateFromResponse(_:_:)](cfnetwork/cfhttpauthenticationcreatefromresponse(_:_:).md)
- [CFHTTPAuthenticationGetTypeID()](cfnetwork/cfhttpauthenticationgettypeid().md)
- [CFHTTPAuthenticationIsValid(_:_:)](cfnetwork/cfhttpauthenticationisvalid(_:_:).md)
- [CFHTTPAuthenticationRequiresAccountDomain(_:)](cfnetwork/cfhttpauthenticationrequiresaccountdomain(_:).md)
- [CFHTTPAuthenticationRequiresUserNameAndPassword(_:)](cfnetwork/cfhttpauthenticationrequiresusernameandpassword(_:).md)
- [kCFHTTPAuthenticationAccountDomain](cfnetwork/kcfhttpauthenticationaccountdomain.md)
- [kCFHTTPAuthenticationPassword](cfnetwork/kcfhttpauthenticationpassword.md)
- [kCFHTTPAuthenticationSchemeBasic](cfnetwork/kcfhttpauthenticationschemebasic.md)
- [kCFHTTPAuthenticationSchemeDigest](cfnetwork/kcfhttpauthenticationschemedigest.md)
- [kCFHTTPAuthenticationSchemeKerberos](cfnetwork/kcfhttpauthenticationschemekerberos.md)
