CFHTTPAuthenticationRequiresUserNameAndPassword(_:)
Returns a Boolean value that indicates whether a CFHTTPAuthentication object uses an authentication method that requires a username and a password.
Declaration
func CFHTTPAuthenticationRequiresUserNameAndPassword(_ auth: CFHTTPAuthentication) -> BoolParameters
- auth:
The CFHTTPAuthentication object to examine.
Return Value
TRUE if auth requires a username and password when it is applied to a request; otherwise, FALSE.
See Also
HTTP Authentication
CFHTTPAuthenticationCFHTTPAuthenticationAppliesToRequest(_:_:)CFHTTPAuthenticationCopyDomains(_:)CFHTTPAuthenticationCopyMethod(_:)CFHTTPAuthenticationCopyRealm(_:)CFHTTPAuthenticationCreateFromResponse(_:_:)CFHTTPAuthenticationGetTypeID()CFHTTPAuthenticationIsValid(_:_:)CFHTTPAuthenticationRequiresAccountDomain(_:)CFHTTPAuthenticationRequiresOrderedRequests(_:)kCFHTTPAuthenticationAccountDomainkCFHTTPAuthenticationPasswordkCFHTTPAuthenticationSchemeBasickCFHTTPAuthenticationSchemeDigestkCFHTTPAuthenticationSchemeKerberos